System::Collections::Generic::List::Sort method
Innehåll
[
Dölj
]List::Sort() method
Sorterar element i listan med standardjämförare.
void System::Collections::Generic::List<T>::Sort()
Se även
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::Sort(Comparison<T>, bool) method
Sorterar element i listan.
void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
| Parameter | Type | Beskrivning |
|---|---|---|
| comparison | Comparison<T> | Comparison att använda. |
Se även
- Class Comparison
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>>&) method
Sorterar element i listan.
void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
| Parameter | Type | Beskrivning |
|---|---|---|
| komparator | const SharedPtr<System::Collections::Generic::IComparer<T>>& | Komparator att använda. |
Se även
- 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
Sorterar element i listsegmentet.
void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
| Parameter | Type | Beskrivning |
|---|---|---|
| index | int | Slice startindex. |
| count | int | Slice storlek. |
| komparator | SharedPtr<System::Collections::Generic::IComparer<T>> | Komparator att använda. |
Se även
- Typedef SharedPtr
- Class IComparer
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++