VirtualPath Property
Collapse the table of content
Expand the table of content

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)

public string VirtualPath { 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
© 2016 Microsoft