Share via


CollectionResourceCastNode.Accept<T>(QueryNodeVisitor<T>) Method

Definition

Accept a QueryNodeVisitor<T> that walk a tree of QueryNodes.

public override T Accept<T> (Microsoft.OData.UriParser.QueryNodeVisitor<T> visitor);
override this.Accept : Microsoft.OData.UriParser.QueryNodeVisitor<'T> -> 'T
Public Overrides Function Accept(Of T) (visitor As QueryNodeVisitor(Of T)) As T

Type Parameters

T

Type that the visitor will return after visiting this token.

Parameters

visitor
QueryNodeVisitor<T>

An implementation of the visitor interface.

Returns

T

An object whose type is determined by the type parameter of the visitor.

Exceptions

Throws if the input visitor is null.

Applies to