Click or drag to resize

CollectionCoreTSort Method (PropertyDescriptor, ListSortDirection, IComparerObject)

Sorts the collection.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
protected void Sort(
	PropertyDescriptor descriptor,
	ListSortDirection direction,
	IComparer<Object> comparerToUse
)

Parameters

descriptor
Type: System.ComponentModelPropertyDescriptor
descriptor for property to sort on
direction
Type: System.ComponentModelListSortDirection
the sort direction
comparerToUse
Type: System.Collections.GenericIComparerObject
The comparer to use. If null, it will use the default comparer.
Remarks
For backwards compatibility
See Also