ThenByDescending Method

Queryable.ThenByDescending Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Performs a subsequent ordering of the elements in a sequence in descending order.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member ThenByDescending<TSource, TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource, TKey>>) Performs a subsequent ordering of the elements in a sequence in descending order, according to a key.
Public method Static member ThenByDescending<TSource, TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>) Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer.
Top

Show:
© 2017 Microsoft