Compartir a través de


UrlHelper.GetVirtualPathData(String, RouteValueDictionary) Método

Definición

Obtiene el VirtualPathData objeto para el especificado routeName y la ruta 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

Parámetros

routeName
String

Nombre de la ruta que se usa para generar .VirtualPathData

values
RouteValueDictionary

RouteValueDictionary. Router utiliza estos valores, en combinación con AmbientValues, para generar la dirección URL.

Devoluciones

VirtualPathData.

Se aplica a