System::Collections::Generic::List::Sort méthode
Contenu
[
Cacher
]List::Sort() method
Trie les éléments de la liste en utilisant le comparateur par défaut.
void System::Collections::Generic::List<T>::Sort()
Voir aussi
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::Sort(Comparison<T>, bool) method
Trie les éléments de la liste.
void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
| Paramètre | Type | Description |
|---|---|---|
| comparison | Comparison<T> | Comparison à utiliser. |
Voir aussi
- Class Comparison
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>>&) method
Trie les éléments de la liste.
void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
| Paramètre | Type | Description |
|---|---|---|
| comparateur | const SharedPtr<System::Collections::Generic::IComparer<T>>& | Comparateur à utiliser. |
Voir aussi
- 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
Trie les éléments de la tranche de la liste.
void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
| Paramètre | Type | Description |
|---|---|---|
| indice | int | Indice de début de la tranche. |
| count | int | Taille de la tranche. |
| comparateur | SharedPtr<System::Collections::Generic::IComparer<T>> | Comparateur à utiliser. |
Voir aussi
- Typedef SharedPtr
- Class IComparer
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++