Share via


VirtualPathData Constructors

Definition

Overloads

VirtualPathData(IRouter, String)

Initializes a new instance of the VirtualPathData class.

VirtualPathData(IRouter, String, RouteValueDictionary)

Initializes a new instance of the VirtualPathData class.

VirtualPathData(IRouter, String)

Source:
VirtualPathData.cs
Source:
VirtualPathData.cs
Source:
VirtualPathData.cs

Initializes a new instance of the VirtualPathData class.

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)

Parameters

router
IRouter

The object that is used to generate the URL.

virtualPath
String

The generated URL.

Applies to

VirtualPathData(IRouter, String, RouteValueDictionary)

Source:
VirtualPathData.cs
Source:
VirtualPathData.cs
Source:
VirtualPathData.cs

Initializes a new instance of the VirtualPathData class.

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)

Parameters

router
IRouter

The object that is used to generate the URL.

virtualPath
String

The generated URL.

dataTokens
RouteValueDictionary

The collection of custom values.

Applies to