System::Collections::Generic::List::Sort methode

List::Sort() method

Sorteert de elementen in de lijst met behulp van de standaard comparator.

void System::Collections::Generic::List<T>::Sort()

Zie ook

List::Sort(Comparison<T>, bool) method

Sorteert de elementen in de lijst.

void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
ParameterTypeBeschrijving
comparisonComparison<T>Comparison om te gebruiken.

Zie ook

List::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>>&) method

Sorteert de elementen in de lijst.

void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
ParameterTypeBeschrijving
vergelijkerconst SharedPtr<System::Collections::Generic::IComparer<T>>&Comparator om te gebruiken.

Zie ook

List::Sort(int, int, SharedPtr<System::Collections::Generic::IComparer<T>>) method

Sorteert de elementen in het lijstdeel.

void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
ParameterTypeBeschrijving
indexintBeginindex van slice.
countintSlice‑grootte.
vergelijkerSharedPtr<System::Collections::Generic::IComparer<T>>Comparator om te gebruiken.

Zie ook