LINQ_OrderByDescending()

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

Sorts the elements of a sequence in descending order according to the key values selected by keySelector.

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

Template parameters

ParameterDescription
keySelectorA function to extract a key from an element.

Return Value

An IOrderedEnumerable whose elements are sorted to the descending order of the key

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

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

See Also