System::Collections::Generic::IEnumerable::LINQ_OrderBy method

IEnumerable::LINQ_OrderBy(const Func<Source, Key>&) method

template<typename Key> SharedPtr<Linq::IOrderedEnumerable<Source>> System::Collections::Generic::IEnumerable<T>::LINQ_OrderBy(const Func<Source, Key> &keySelector)

Δείτε επίσης

IEnumerable::LINQ_OrderBy(const Func<T, Key>&) method

Ταξινομεί τα στοιχεία μιας ακολουθίας σε αύξουσα σειρά σύμφωνα με τις τιμές κλειδιών που επιλέγονται από το keySelector.

template<typename Key> SharedPtr<Linq::IOrderedEnumerable<T>> System::Collections::Generic::IEnumerable<T>::LINQ_OrderBy(const Func<T, Key> &keySelector)
ParameterΠεριγραφή
keySelectorΜια λειτουργία για την εξαγωγή ενός κλειδιού από ένα στοιχείο.

ReturnValue

Ένα IOrderedEnumerable του οποίου τα στοιχεία ταξινομούνται σύμφωνα με ένα κλειδί.

Δείτε επίσης