JScriptException.Line 属性

定义

获取发生错误的代码行。Gets the line of code in which the error occurs.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 property int Line { int get(); };
public int Line { get; }
member this.Line : int
Public ReadOnly Property Line As Integer

属性值

Int32

发生错误的代码行,如果为,则为 0 Context nullThe line of code in which the error occurs, or 0 if the Context is null.

实现

适用于

另请参阅