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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。