Condividi tramite


UrlHelper.GetVirtualPathData(String, RouteValueDictionary) Metodo

Definizione

Ottiene l'oggetto per l'oggetto VirtualPathData specificato routeName e la 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

Parametri

routeName
String

Nome della route utilizzata per generare l'oggetto VirtualPathData.

values
RouteValueDictionary

Oggetto RouteValueDictionary. Usa Router questi valori, in combinazione con AmbientValues, per generare l'URL.

Restituisce

Oggetto VirtualPathData.

Si applica a