System::Collections::Generic::List::Sort طريقة

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)
معاملنوعالوصف
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)
معاملنوعالوصف
مقارن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)
معاملنوعالوصف
الفهرسintفهرس بداية الجزء.
countintحجم القطعة.
مقارنSharedPtr<System::Collections::Generic::IComparer<T>>المقارن للاستخدام

انظر أيضًا