System::Collections::Generic::List::Sort method
Contenuti
[
Nascondere
]List::Sort() method
Ordina gli elementi nella lista usando il comparatore predefinito.
void System::Collections::Generic::List<T>::Sort()
Vedi anche
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::Sort(Comparison<T>, bool) method
Ordina gli elementi nella lista.
void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
| Parametro | Tipo | Descrizione |
|---|---|---|
| comparison | Comparison<T> | Confronto da usare. |
Vedi anche
- Class Comparison
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>>&) method
Ordina gli elementi nella lista.
void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
| Parametro | Tipo | Descrizione |
|---|---|---|
| comparatore | const SharedPtr<System::Collections::Generic::IComparer<T>>& | Comparatore da usare. |
Vedi anche
- 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
Ordina gli elementi nella porzione della lista.
void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
| Parametro | Tipo | Descrizione |
|---|---|---|
| indice | int | Indice iniziale della porzione. |
| count | int | Dimensione della slice. |
| comparatore | SharedPtr<System::Collections::Generic::IComparer<T>> | Comparatore da usare. |
Vedi anche
- Typedef SharedPtr
- Class IComparer
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++