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
)

參數

請參閱

參考

TSqlParserToken 類別

TSqlParserToken 多載

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間