Sort()
Contents
[
Hide
]List::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>>&) method
Sorts elements in the list.
void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
Arguments
Parameter | Type | Description |
---|---|---|
comparator | const SharedPtr<System::Collections::Generic::IComparer<T>>& | Comparator to use. |
List::Sort() method
Sorts elements in the list using default comparator.
void System::Collections::Generic::List<T>::Sort()
List::Sort(int, int, SharedPtr<System::Collections::Generic::IComparer<T>>) method
Sorts elements in the list slice.
void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
Arguments
Parameter | Type | Description |
---|---|---|
index | int | Slice beginning index. |
count | int | Slice size. |
comparator | SharedPtr<System::Collections::Generic::IComparer<T>> | Comparator to use. |
List::Sort(Comparison<T>, bool) method
Sorts elements in the list.
void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
Arguments
Parameter | Type | Description |
---|---|---|
comparison | Comparison<T> | Comparison to use. |
See Also
- Typedef SharedPtr
- Class IComparer
- Class List
- Class Comparison
- Namespace System::Collections::Generic
- Library Aspose.Slides