VirtualPathData 构造函数

定义

重载

VirtualPathData(IRouter, String)

初始化 VirtualPathData 类的新实例。

VirtualPathData(IRouter, String, RouteValueDictionary)

初始化 VirtualPathData 类的新实例。

VirtualPathData(IRouter, String)

Source:
VirtualPathData.cs
Source:
VirtualPathData.cs
Source:
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)

Source:
VirtualPathData.cs
Source:
VirtualPathData.cs
Source:
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

自定义值的集合。

适用于