PageParserFilter.Line 属性

定义

获取文件中当前正在对其进行分析的行号。Gets the line number that is currently being parsed in the file.

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

属性值

Int32

一个整数值,表示文件中分析器筛选器当前正在对其处理的行。The integer value representing the line in the file that the parser filter is currently processing.

注解

在自定义 PageParserFilter 实现中,使用 Line 属性来报告分析过程中发生错误的位置。In a custom PageParserFilter implementation, use the Line property to report where errors occur during parsing.

Line .NET Framework 版本3.5 中引入。Line is introduced in the .NET Framework version 3.5. 有关详细信息,请参见版本和依赖关系For more information, see Versions and Dependencies.

适用于