[]
        
(Showing Draft Content)

C1.LiveLinq.LiveViews.View-1.OrderByDescending

OrderByDescending Method

OrderByDescending<TKey>(Expression<Func<T, TKey>>)

Sorts the elements of a view in descending order.

Declaration
public OrderedView<T> OrderByDescending<TKey>(Expression<Func<T, TKey>> keySelector)
Parameters
Type Name Description
Expression<Func<T, TKey>> keySelector

A function to extract a key from an element.

Returns
Type Description
OrderedView<T>

A view whose elements are sorted in descending order according to a key.

Type Parameters
Name Description
TKey

The type of the key returned by keySelector.