共用方式為


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 命名空間