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.
命名空間: 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
The token type.
- offset
型別:System.Int32
The token offset.
- text
型別:System.String
The token text.
- line
型別:System.Int32
The token line.
- column
型別:System.Int32
The token column.