VirtualPathData(RouteBase, String) Constructor

Definition

Initializes a new instance of the VirtualPathData class.

public:
 VirtualPathData(System::Web::Routing::RouteBase ^ route, System::String ^ virtualPath);
public VirtualPathData (System.Web.Routing.RouteBase route, string virtualPath);
new System.Web.Routing.VirtualPathData : System.Web.Routing.RouteBase * string -> System.Web.Routing.VirtualPathData
Public Sub New (route As RouteBase, virtualPath As String)

Parameters

route
RouteBase

The object that is used to generate the URL.

virtualPath
String

The generated URL.

Applies to

See also