Share via


IMobileServiceSyncTable<T>.OrderBy<TKey> Method

Definition

Creates a query by applying the specified ascending order clause.

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

A query against the table.

Applies to