PageParserFilter.Line Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

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