UrlHelper.GetVirtualPathData(String, RouteValueDictionary) Methode

Definition

Ruft den VirtualPathData für die angegebene routeName und -Route valuesab.

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

Parameter

routeName
String

Der Name der Route, die zum Generieren von VirtualPathDataverwendet wird.

values
RouteValueDictionary

Die RouteValueDictionary. Die Router verwendet diese Werte in Kombination mit AmbientValues, um die URL zu generieren.

Gibt zurück

Die VirtualPathData.

Gilt für: