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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)