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.12.0.0 (5.12.0)
Syntaxprotected void Sort(
PropertyDescriptor descriptor,
ListSortDirection direction,
IComparer<Object> comparerToUse
)
Protected Sub Sort (
descriptor As PropertyDescriptor,
direction As ListSortDirection,
comparerToUse As IComparer(Of Object)
)
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.
RemarksFor backwards compatibility
See Also