MobileServiceTableQuery<T>.ThenBy<TKey> Method
Applies the specified ascending order clause to the source query.
Namespace: Microsoft.WindowsAzure.MobileServices
Assembly: Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)
Syntax
'Declaration
Public Function ThenBy(Of TKey) ( _
keySelector As Expression(Of Func(Of T, TKey)) _
) As MobileServiceTableQuery(Of T)
'Usage
Dim instance As MobileServiceTableQuery
Dim keySelector As Expression(Of Func(Of T, TKey))
Dim returnValue As MobileServiceTableQuery(Of T)
returnValue = instance.ThenBy(keySelector)
public MobileServiceTableQuery<T> ThenBy<TKey>(
Expression<Func<T, TKey>> keySelector
)
public:
generic<typename TKey>
MobileServiceTableQuery<T>^ ThenBy(
Expression<Func<T, TKey>^>^ keySelector
)
member ThenBy :
keySelector:Expression<Func<'T, 'TKey>> -> MobileServiceTableQuery<'T>
JScript does not support generic types and methods.
Type Parameters
- TKey
The type of the member being ordered by.
Parameters
- keySelector
Type: System.Linq.Expressions.Expression<Func<T, TKey>>
The expression selecting the member to order by.
Return Value
Type: Microsoft.WindowsAzure.MobileServices.MobileServiceTableQuery<T>
The composed query.