OrderByDescending Method

Queryable.OrderByDescending Method

 

Sorts the elements of a sequence in descending order.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticOrderByDescending<TSource, TKey>(IQueryable<TSource>, Expression<Func<TSource, TKey>>)

Sorts the elements of a sequence in descending order according to a key.

System_CAPS_pubmethodSystem_CAPS_staticOrderByDescending<TSource, TKey>(IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>)

Sorts the elements of a sequence in descending order by using a specified comparer.

Return to top
Show:
© 2016 Microsoft