System::Collections::Generic::List::Sort method

List::Sort() method

Ταξινομεί τα στοιχεία στη λίτα χρησιμοποιώντας τον προεπιλεγμένο συγκριτή.

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

Δείτε επίσης

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

Ταξινομεί τα στοιχεία στη λίστα.

void System::Collections::Generic::List<T>::Sort(Comparison<T> comparison, bool)
ParameterTypeΠεριγραφή
comparisonComparison<T>Comparison για χρήση.

Δείτε επίσης

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

Ταξινομεί τα στοιχεία στη λίστα.

void System::Collections::Generic::List<T>::Sort(const SharedPtr<System::Collections::Generic::IComparer<T>> &comparator)
ParameterTypeΠεριγραφή
συγκριτήςconst SharedPtr<System::Collections::Generic::IComparer<T>>&Σύγκριση για χρήση.

Δείτε επίσης

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

Ταξινομεί τα στοιχεία στο τμήμα της λίστας.

void System::Collections::Generic::List<T>::Sort(int index, int count, SharedPtr<System::Collections::Generic::IComparer<T>> comparator)
ParameterTypeΠεριγραφή
δείκτηςintΑρχικός δείκτης τμήματος.
countintΜέγεθος τμήματος.
συγκριτήςSharedPtr<System::Collections::Generic::IComparer<T>>Σύγκριση για χρήση.

Δείτε επίσης