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)
पैरामीटरप्रकारविवरण
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>>उपयोग करने के लिए तुलनाकार।

संबंधित देखें