System::Collections::Generic::List::Sort method
Inhalt
[
Ausblenden
]List::Sort() method
Sortiert die Elemente in der Liste mit dem Standardvergleich.
void System::Collections::Generic::List<T>::Sort()
Siehe auch
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::Sort(Comparison<T>, bool) method
Sortiert die Elemente in der Liste.
void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
| Parameter | Typ | Beschreibung |
|---|---|---|
| comparison | Comparison<T> | Comparison zu verwenden. |
Siehe auch
- Class Comparison
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>>&) method
Sortiert die Elemente in der Liste.
void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Vergleichsfunktion | const SharedPtr<System::Collections::Generic::IComparer<T>>& | Comparator zu verwenden. |
Siehe auch
- Typedef SharedPtr
- Class IComparer
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::Sort(int, int, SharedPtr<System::Collections::Generic::IComparer<T>>) method
Sortiert die Elemente im Listenausschnitt.
void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
| Parameter | Typ | Beschreibung |
|---|---|---|
| Index | int | Startindex des Abschnitts. |
| count | int | Slice-Größe. |
| Vergleichsfunktion | SharedPtr<System::Collections::Generic::IComparer<T>> | Comparator zu verwenden. |
Siehe auch
- Typedef SharedPtr
- Class IComparer
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++