MobileServiceTableQuery<T>.ThenByDescending<TKey> Method

Applies the specified descending 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 ThenByDescending(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.ThenByDescending(keySelector)
public MobileServiceTableQuery<T> ThenByDescending<TKey>(
    Expression<Func<T, TKey>> keySelector
)
public:
generic<typename TKey>
MobileServiceTableQuery<T>^ ThenByDescending(
    Expression<Func<T, TKey>^>^ keySelector
)
member ThenByDescending : 
        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

Return Value

Type: Microsoft.WindowsAzure.MobileServices.MobileServiceTableQuery<T>
The composed query.

See Also

Reference

MobileServiceTableQuery<T> Class

Microsoft.WindowsAzure.MobileServices Namespace