ParserError Constructor ()


Initializes a new instance of the ParserError class.

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

public ParserError()

The following code example demonstrates how to initialize an empty instance of the ParserError class and how to use its properties.

ParserError MyParserError = new ParserError();

MyParserError.ErrorText = "My Error Text";

MyParserError.Line = 5;

MyParserError.VirtualPath = "MyPath";

.NET Framework
Available since 2.0
Return to top