共用方式為


VirtualPathData(RouteBase, String) 建構函式

定義

初始化 VirtualPathData 類別的新執行個體。

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)

參數

route
RouteBase

用來產生 URL 的物件。

virtualPath
String

產生的 URL。

適用於

另請參閱