指定したトークンの型、オフセット、テキスト、行、および列を使用して、TSqlParserToken クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.SqlServer.TransactSql.ScriptDom
アセンブリ: Microsoft.SqlServer.TransactSql.ScriptDom (Microsoft.SqlServer.TransactSql.ScriptDom.dll)
構文
'宣言
Public Sub New ( _
type As TSqlTokenType, _
offset As Integer, _
text As String, _
line As Integer, _
column As Integer _
)
'使用
Dim type As TSqlTokenType
Dim offset As Integer
Dim text As String
Dim line As Integer
Dim column As Integer
Dim instance As New TSqlParserToken(type, offset, _
text, line, column)
public TSqlParserToken(
TSqlTokenType type,
int offset,
string text,
int line,
int column
)
public:
TSqlParserToken(
TSqlTokenType type,
int offset,
String^ text,
int line,
int column
)
new :
type:TSqlTokenType *
offset:int *
text:string *
line:int *
column:int -> TSqlParserToken
public function TSqlParserToken(
type : TSqlTokenType,
offset : int,
text : String,
line : int,
column : int
)
パラメーター
- type
型: Microsoft.SqlServer.TransactSql.ScriptDom.TSqlTokenType
トークンの型。
- offset
型: System.Int32
トークンのオフセット。
- text
型: System.String
トークンのテキスト。
- line
型: System.Int32
トークンの行。
- column
型: System.Int32
トークンの列。