System::Collections::Generic::List::Sort metode
isi
[
bersembunyi
]List::Sort() method
Mengurutkan elemen dalam daftar menggunakan pembanding default.
void System::Collections::Generic::List<T>::Sort()
Lihat Juga
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::Sort(Comparison<T>, bool) method
Mengurutkan elemen dalam daftar.
void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| comparison | Comparison<T> | Comparison untuk digunakan. |
Lihat Juga
- Class Comparison
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
List::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>>&) method
Mengurutkan elemen dalam daftar.
void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| pembanding | const SharedPtr<System::Collections::Generic::IComparer<T>>& | Comparator untuk digunakan. |
Lihat Juga
- 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
Mengurutkan elemen dalam irisan daftar.
void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| indeks | int | Indeks awal slice. |
| count | int | Ukuran slice. |
| pembanding | SharedPtr<System::Collections::Generic::IComparer<T>> | Comparator untuk digunakan. |
Lihat Juga
- Typedef SharedPtr
- Class IComparer
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++