SystemToken.Accept Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Accept(IPathSegmentTokenVisitor) |
Accept a IPathSegmentTokenVisitor to walk a tree of PathSegmentTokens. |
Accept<T>(IPathSegmentTokenVisitor<T>) |
Accept a IPathSegmentTokenVisitor<T> to walk a tree of PathSegmentTokens. |
Accept(IPathSegmentTokenVisitor)
Accept a IPathSegmentTokenVisitor to walk a tree of PathSegmentTokens.
public override void Accept (Microsoft.OData.UriParser.IPathSegmentTokenVisitor visitor);
override this.Accept : Microsoft.OData.UriParser.IPathSegmentTokenVisitor -> unit
Public Overrides Sub Accept (visitor As IPathSegmentTokenVisitor)
Parameters
- visitor
- IPathSegmentTokenVisitor
An implementation of the visitor interface.
Applies to
Accept<T>(IPathSegmentTokenVisitor<T>)
Accept a IPathSegmentTokenVisitor<T> to walk a tree of PathSegmentTokens.
public override T Accept<T> (Microsoft.OData.UriParser.IPathSegmentTokenVisitor<T> visitor);
override this.Accept : Microsoft.OData.UriParser.IPathSegmentTokenVisitor<'T> -> 'T
Public Overrides Function Accept(Of T) (visitor As IPathSegmentTokenVisitor(Of T)) As T
Type Parameters
- T
Type that the visitor will return after visiting this token.
Parameters
- visitor
- IPathSegmentTokenVisitor<T>
An implementation of the visitor interface.
Returns
An object whose type is determined by the type parameter of the visitor.