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 ReadOnly Property Line As Integer

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
Available since 2.0
Return to top
Show: