Export (0) Print
Expand All

Token Class

Represents a token.


Namespace:  Microsoft.SqlServer.Management.SqlParser.Parser
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public class Token

The Token type exposes the following members.

Public propertyEndLocationGets the end location of the token.
Public propertyIdGets the token ID.
Public propertyIsSignificantGets a value indicating whether the token is a significant token. White space and comments are examples of non-significant tokens.
Public propertyStartLocationGets the start location of the token.
Public propertyTextGets the token text.
Public propertyTypeGets the type of the token.
Public propertyXmlGets the XML representation of the token.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string represenation of the token. (Overrides Object.ToString.)
Public methodWriteXmlWrites the XML representation of the token out to the specified XmlWriter.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft