Share via


OrderByToken(QueryToken, OrderByDirection) Constructor

Definition

Create a new OrderByToken given the expression and direction

public OrderByToken (Microsoft.OData.UriParser.QueryToken expression, Microsoft.OData.UriParser.OrderByDirection direction);
new Microsoft.OData.UriParser.OrderByToken : Microsoft.OData.UriParser.QueryToken * Microsoft.OData.UriParser.OrderByDirection -> Microsoft.OData.UriParser.OrderByToken
Public Sub New (expression As QueryToken, direction As OrderByDirection)

Parameters

expression
QueryToken

The expression according to which to order the results.

direction
OrderByDirection

The direction of the ordering.

Applies to