UrlHelper.GetVirtualPathData(String, RouteValueDictionary) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the VirtualPathData for the specified routeName
and route
values
.
protected:
virtual Microsoft::AspNetCore::Routing::VirtualPathData ^ GetVirtualPathData(System::String ^ routeName, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values);
protected virtual Microsoft.AspNetCore.Routing.VirtualPathData GetVirtualPathData (string routeName, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
protected virtual Microsoft.AspNetCore.Routing.VirtualPathData? GetVirtualPathData (string? routeName, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
abstract member GetVirtualPathData : string * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.VirtualPathData
override this.GetVirtualPathData : string * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.VirtualPathData
Protected Overridable Function GetVirtualPathData (routeName As String, values As RouteValueDictionary) As VirtualPathData
Parameters
- routeName
- String
The name of the route that is used to generate the VirtualPathData.
- values
- RouteValueDictionary
The RouteValueDictionary. The Router uses these values, in combination with AmbientValues, to generate the URL.
Returns
The VirtualPathData.