Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PageParserFilter.Line Property

Gets the line number that is currently being parsed in the file.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

protected int Line { get; }

Property Value

Type: System.Int32
The integer value representing the line in the file that the parser filter is currently processing.

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 .NET Framework Versions and Dependencies.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1
Show:
© 2015 Microsoft