Performs a subsequent ordering of a query based upon the key selector provided.
Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax
public static ParseQuery<TSource> ThenByDescending<TSource, TSelector>( this ParseQuery<TSource> source, Expression<Func<TSource, TSelector>> keySelector ) where TSource : ParseObject
Parameters
- source
- Type: ParseParseQueryTSource
The query to order. - keySelector
- Type: System.Linq.ExpressionsExpressionFuncTSource, TSelector
A function to extract a key from the ParseObject.
Type Parameters
- TSource
- The type of ParseObject being queried for.
- TSelector
- The type of key returned by keySelector.
Return Value
Type: ParseQueryTSourceA new ParseQuery based on source whose results will be ordered by the key specified in the keySelector.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ParseQueryTSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also