Edit

Share via


PageParserFilter.Line Property

Definition

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

Property Value

The integer value representing the line in the file that the parser filter is currently processing.

Remarks

In a custom PageParserFilter implementation, use the Line property to report where errors occur during parsing.

Line is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to