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