Sorts a collection of properties.
[Visual Basic] Protected Function SortProperties( _ ByVal props As PropertyDescriptorCollection, _ ByVal names() As String _ ) As PropertyDescriptorCollection [C#] protected PropertyDescriptorCollection SortProperties( PropertyDescriptorCollection props, string[] names ); [C++] protected: PropertyDescriptorCollection* SortProperties( PropertyDescriptorCollection* props, String* names[] ); [JScript] protected function SortProperties( props : PropertyDescriptorCollection, names : String[] ) : PropertyDescriptorCollection;
All properties in the collection that are not in the array of names, will be added alphabetically to the end. If the names array is empty or a null reference (in Visual Basic Nothing), all the properties in the collection will be sorted alphabetically.
TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace | PropertyDescriptorCollection | TypeConverter