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
属性值
发生错误的代码行,如果为,则为 0 Context null 。The line of code in which the error occurs, or 0 if the Context is null.