通过


PageParserFilter.Line 属性

定义

获取文件中当前正在分析的行号。

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

属性值

表示分析程序筛选器当前正在处理的文件中的行的整数值。

注解

在自定义 PageParserFilter 实现中 Line ,使用属性报告分析期间发生错误的位置。

Line 在 .NET Framework 版本 3.5 中引入。 有关详细信息,请参阅 版本和依赖项

适用于