Export (0) Print
Expand All

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
[C#]
public virtual PropertyDescriptorCollection Sort(
 IComparer comparer
);
[C++]
public: virtual PropertyDescriptorCollection* Sort(
 IComparer* comparer
);
[JScript]
public function Sort(
   comparer : IComparer
) : PropertyDescriptorCollection;

Parameters

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

Return Value

A new PropertyDescriptorCollection that contains the sorted PropertyDescriptor objects.

Requirements

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

Show:
© 2014 Microsoft