Udostępnij za pośrednictwem


IMobileServiceTableQuery<T>.OrderBy<TKey> Method

Definition

Applies the specified ascending order clause to the source query.

public Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<T> OrderBy<TKey> (System.Linq.Expressions.Expression<Func<T,TKey>> keySelector);
abstract member OrderBy : System.Linq.Expressions.Expression<Func<'T, 'Key>> -> Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'T>
Public Function OrderBy(Of TKey) (keySelector As Expression(Of Func(Of T, TKey))) As IMobileServiceTableQuery(Of T)

Type Parameters

TKey

The type of the member being ordered by.

Parameters

keySelector
Expression<Func<T,TKey>>

The expression selecting the member to order by.

Returns

The composed query.

Applies to