ParseError 构造函数

Initializes a new instance of the ParseError class.

命名空间:  Microsoft.SqlServer.TransactSql.ScriptDom
程序集:  Microsoft.SqlServer.TransactSql.ScriptDom(在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

语法

声明
Public Sub New ( _
    number As Integer, _
    offset As Integer, _
    line As Integer, _
    column As Integer, _
    message As String _
)
用法
Dim number As Integer 
Dim offset As Integer 
Dim line As Integer 
Dim column As Integer 
Dim message As String 

Dim instance As New ParseError(number, _
    offset, line, column, message)
public ParseError(
    int number,
    int offset,
    int line,
    int column,
    string message
)
public:
ParseError(
    int number, 
    int offset, 
    int line, 
    int column, 
    String^ message
)
new : 
        number:int * 
        offset:int * 
        line:int * 
        column:int * 
        message:string -> ParseError
public function ParseError(
    number : int, 
    offset : int, 
    line : int, 
    column : int, 
    message : String
)

参数

  • offset
    类型:System.Int32
    The starting offset of the AST that caused the error.
  • line
    类型:System.Int32
    The line where the error is located.
  • column
    类型:System.Int32
    The column where the error is located.

请参阅

参考

ParseError 类

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间