TSqlParserToken 类

Represents a parser token.

继承层次结构

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParserToken

命名空间:  Microsoft.SqlServer.TransactSql.ScriptDom
程序集:  Microsoft.SqlServer.TransactSql.ScriptDom(在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

语法

声明
Public NotInheritable Class TSqlParserToken
用法
Dim instance As TSqlParserToken
public sealed class TSqlParserToken
public ref class TSqlParserToken sealed
[<SealedAttribute>]
type TSqlParserToken =  class end
public final class TSqlParserToken

TSqlParserToken 类型公开以下成员。

构造函数

  名称 说明
公共方法 TSqlParserToken() Initializes a new instance of the TSqlParserToken class.
公共方法 TSqlParserToken(TSqlTokenType, String) Initializes a new instance of the TSqlParserToken class with the specified type and text of the token.
公共方法 TSqlParserToken(TSqlTokenType, Int32, String, Int32, Int32) Initializes a new instance of the TSqlParserToken class with the specified type, offset, text, line and column of the token.

页首

属性

  名称 说明
公共属性 Column Gets or sets the column of the token.
公共属性 Line Gets or sets the line of the token.
公共属性 Offset Gets or sets the offset of the token.
公共属性 Text Gets or sets the text of the token.
公共属性 TokenType Gets or sets the value of the token type.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 IsKeyword Determines the value that indicates whether the token is a language keyword.
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间