Dela via


IRouter.GetVirtualPath(VirtualPathContext) Method

Definition

Returns the URL that is associated with the route details provided in context

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

Parameters

Returns

A VirtualPathData object. Can be null.

Applies to