VirtualPathData 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
自定义值的集合。