Share via


CountSegmentToken Class

Definition

Lexical token representing the $count segment in a path.

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

Constructors

CountSegmentToken(QueryToken, QueryToken, QueryToken)

Create a CountSegmentToken given the NextToken, FilterOption (if any) and SearchOption (if any).

CountSegmentToken(QueryToken)

Create a CountSegmentToken given the NextToken.

Properties

FilterOption

The QueryToken representing $filter. If this is null, then the $count segment does not have a filter query option.

Identifier

The name of this token, which in this case is always "$count".

Kind

The kind of the query token.

NextToken

The instance to count on.

SearchOption

The QueryToken representing $search. If this is null, then the $count segment does not have a search query option.

Methods

Accept<T>(ISyntacticTreeVisitor<T>)

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

Equals(Object)

Indicates the Equals overload.

(Inherited from PathToken)
GetHashCode()

Returns a hash code for this instance.

(Inherited from PathToken)

Applies to