ThenBy Method

Enumerable.ThenBy 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 ascending 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 ThenBy<TSource, TKey>(IOrderedEnumerable<TSource>, Func<TSource, TKey>) Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.
Public method Static member ThenBy<TSource, TKey>(IOrderedEnumerable<TSource>, Func<TSource, TKey>, IComparer<TKey>) Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer.
Top

Show:
© 2016 Microsoft