Dela via


RouteBase.GetVirtualPath(VirtualPathContext) Method

Definition

Returns the URL that is associated with the route details provided in 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

Parameters

Returns

A VirtualPathData object. Can be null.

Implements

Applies to