ParserError.VirtualPath Property

 

Gets or set the virtual path of the file that was being parsed when the error occurred.

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

Public Property VirtualPath As String

Property Value

Type: System.String

A string that specifies the virtual path of the file that contains the parser error.

The following code example demonstrates how to populate the VirtualPath property for a ParserError object.

myParserError.VirtualPath = "MyPath"

.NET Framework
Available since 2.0
Return to top
Show: