ObservableCollectionTSort Method (Int32, Int32, IComparerT)
|
Sorts the elements in a range of elements in System.Collections.Generic.List<T> using the specified comparer.
Namespace:
DXFReaderNET.Collections
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public void Sort(
int index,
int count,
IComparer<T> comparer
)
Public Sub Sort (
index As Integer,
count As Integer,
comparer As IComparer(Of T)
)
public:
void Sort(
int index,
int count,
IComparer<T>^ comparer
)
member Sort :
index : int *
count : int *
comparer : IComparer<'T> -> unit
METHOD Sort(
index AS LONG,
count AS LONG,
comparer AS IComparer<T>
) AS VOID
Parameters
- index
- Type: SystemInt32
The zero-based starting index of the range to sort. - count
- Type: SystemInt32
The length of the range to sort. - comparer
- Type: System.Collections.GenericIComparerT
The System.Collections.Generic.IComparer<T> implementation to use when comparing elements, or null to use the default comparer System.Collections.Generic.Comparer<T>.Default.
See Also