Share via


OrderByToken Class

Definition

Lexical token representing an order by operation.

public sealed class OrderByToken : Microsoft.OData.UriParser.QueryToken
type OrderByToken = class
    inherit QueryToken
Public NotInheritable Class OrderByToken
Inherits QueryToken
Inheritance
OrderByToken

Constructors

OrderByToken(QueryToken, OrderByDirection)

Create a new OrderByToken given the expression and direction

Properties

Direction

The direction of the ordering.

Expression

The expression according to which to order the results.

Kind

The kind of the query token.

Methods

Accept<T>(ISyntacticTreeVisitor<T>)

Accept a ISyntacticTreeVisitor<T> to walk a tree of QueryTokens.

Applies to