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)

Vedi anche

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

Ordina gli elementi di una sequenza in ordine crescente secondo i valori chiave selezionati da keySelector.

template<typename Key> SharedPtr<Linq::IOrderedEnumerable<T>> System::Collections::Generic::IEnumerable<T>::LINQ_OrderBy(const Func<T, Key> &keySelector)
ParametroDescrizione
keySelectorUna funzione per estrarre una chiave da un elemento.

ReturnValue

Un IOrderedEnumerable i cui elementi sono ordinati secondo una chiave

Vedi anche