This documentation is archived and is not being maintained.

PropertyDescriptorCollection.Sort Method (IComparer)

.NET Framework 1.1

Sorts the members of this collection, using the specified IComparer.

[Visual Basic]
Overloads Public Overridable Function Sort( _
   ByVal comparer As IComparer _
) As PropertyDescriptorCollection
public virtual PropertyDescriptorCollection Sort(
 IComparer comparer
public: virtual PropertyDescriptorCollection* Sort(
 IComparer* comparer
public function Sort(
   comparer : IComparer
) : PropertyDescriptorCollection;


A comparer to use to sort the PropertyDescriptor objects in this collection.

Return Value

A new PropertyDescriptorCollection that contains the sorted PropertyDescriptor objects.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PropertyDescriptorCollection Class | PropertyDescriptorCollection Members | System.ComponentModel Namespace | PropertyDescriptorCollection.Sort Overload List | IComparer