PageRouteHandler.VirtualPath Property

.NET Framework (current version)

Gets the virtual path of the Web page that is associated with this route.

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

member VirtualPath : string with get, private set

Property Value

Type: System.String

The URL of the Web page, before substitutions have been applied for any replacement parameters.

You set the VirtualPath property in the PageRouteHandler.PageRouteHandler constructor or in the PageRouteHandler.PageRouteHandler constructor.

.NET Framework
Available since 4.0
Return to top