共用方式為


VirtualPathData 建構函式

定義

多載

VirtualPathData(IRouter, String)

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

VirtualPathData(IRouter, String, RouteValueDictionary)

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

VirtualPathData(IRouter, String)

來源:
VirtualPathData.cs
來源:
VirtualPathData.cs
來源:
VirtualPathData.cs

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

public:
 VirtualPathData(Microsoft::AspNetCore::Routing::IRouter ^ router, System::String ^ virtualPath);
public VirtualPathData (Microsoft.AspNetCore.Routing.IRouter router, string virtualPath);
new Microsoft.AspNetCore.Routing.VirtualPathData : Microsoft.AspNetCore.Routing.IRouter * string -> Microsoft.AspNetCore.Routing.VirtualPathData
Public Sub New (router As IRouter, virtualPath As String)

參數

router
IRouter

用來產生 URL 的物件。

virtualPath
String

產生的 URL。

適用於

VirtualPathData(IRouter, String, RouteValueDictionary)

來源:
VirtualPathData.cs
來源:
VirtualPathData.cs
來源:
VirtualPathData.cs

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

public:
 VirtualPathData(Microsoft::AspNetCore::Routing::IRouter ^ router, System::String ^ virtualPath, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ dataTokens);
public VirtualPathData (Microsoft.AspNetCore.Routing.IRouter router, string virtualPath, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens);
new Microsoft.AspNetCore.Routing.VirtualPathData : Microsoft.AspNetCore.Routing.IRouter * string * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.VirtualPathData
Public Sub New (router As IRouter, virtualPath As String, dataTokens As RouteValueDictionary)

參數

router
IRouter

用來產生 URL 的物件。

virtualPath
String

產生的 URL。

dataTokens
RouteValueDictionary

自訂值的集合。

適用於