TSqlParserToken 构造函数 (TSqlTokenType, String)
Initializes a new instance of the TSqlParserToken class with the specified type and text of the token.
命名空间: Microsoft.SqlServer.TransactSql.ScriptDom
程序集: Microsoft.SqlServer.TransactSql.ScriptDom(在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)
语法
声明
Public Sub New ( _
type As TSqlTokenType, _
text As String _
)
用法
Dim type As TSqlTokenType
Dim text As String
Dim instance As New TSqlParserToken(type, text)
public TSqlParserToken(
TSqlTokenType type,
string text
)
public:
TSqlParserToken(
TSqlTokenType type,
String^ text
)
new :
type:TSqlTokenType *
text:string -> TSqlParserToken
public function TSqlParserToken(
type : TSqlTokenType,
text : String
)
参数
- type
类型:Microsoft.SqlServer.TransactSql.ScriptDom.TSqlTokenType
The token type.
- text
类型:System.String
The token text.