PropertyDescriptorCollection.Sort Method (IComparer)

 

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

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public virtual PropertyDescriptorCollection Sort(
	IComparer comparer
)

Parameters

comparer
Type: System.Collections.IComparer

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

.NET Framework
Available since 1.1
Return to top
Show: