Método System::Collections::Generic::List::Sort
Contenido
[
Ocultar
]List::Sort() method
Ordena los elementos en la lista usando el comparador predeterminado.
void System::Collections::Generic::List<T>::Sort()
Ver también
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::Sort(Comparison<T>, bool) method
Ordena los elementos en la lista.
void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
| Parámetro | Tipo | Descripción |
|---|---|---|
| comparison | Comparison<T> | Comparison para usar. |
Ver también
- Class Comparison
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>>&) method
Ordena los elementos en la lista.
void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
| Parámetro | Tipo | Descripción |
|---|---|---|
| comparador | const SharedPtr<System::Collections::Generic::IComparer<T>>& | Comparador a usar. |
Ver también
- 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
Ordena los elementos en la porción de la lista.
void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
| Parámetro | Tipo | Descripción |
|---|---|---|
| índice | int | Índice inicial de la porción. |
| count | int | Tamaño de la porción. |
| comparador | SharedPtr<System::Collections::Generic::IComparer<T>> | Comparador a usar. |
Ver también
- Typedef SharedPtr
- Class IComparer
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++