指定したトークンの型とテキストを使用して、TSqlParserToken クラスの新しいインスタンスを初期化します。
名前空間: 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
トークンの型。
- text
型: System.String
トークンのテキスト。