Partager via


RouteCollection.GetVirtualPath(VirtualPathContext) Méthode

Définition

Retourne l’URL associée aux détails de l’itinéraire fournis dans context

public:
 virtual Microsoft::AspNetCore::Routing::VirtualPathData ^ GetVirtualPath(Microsoft::AspNetCore::Routing::VirtualPathContext ^ context);
public virtual Microsoft.AspNetCore.Routing.VirtualPathData GetVirtualPath (Microsoft.AspNetCore.Routing.VirtualPathContext context);
public virtual Microsoft.AspNetCore.Routing.VirtualPathData? GetVirtualPath (Microsoft.AspNetCore.Routing.VirtualPathContext context);
abstract member GetVirtualPath : Microsoft.AspNetCore.Routing.VirtualPathContext -> Microsoft.AspNetCore.Routing.VirtualPathData
override this.GetVirtualPath : Microsoft.AspNetCore.Routing.VirtualPathContext -> Microsoft.AspNetCore.Routing.VirtualPathData
Public Overridable Function GetVirtualPath (context As VirtualPathContext) As VirtualPathData

Paramètres

context
VirtualPathContext

Instance de VirtualPathContext.

Retours

Objet VirtualPathData. Peuvent avoir la valeur null.

Implémente

S’applique à