IEntityCollectionCoreSort Method (Int32, 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)
Syntaxvoid Sort(
int fieldIndex,
ListSortDirection direction,
IComparer<Object> comparerToUse
)
Sub Sort (
fieldIndex As Integer,
direction As ListSortDirection,
comparerToUse As IComparer(Of Object)
)
Parameters
- fieldIndex
- Type: SystemInt32
Field 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.
See Also