共用方式為


RouteBase.GetVirtualPath(VirtualPathContext) 方法

定義

傳回與 中提供的路由詳細資料相關聯的 URL 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

參數

context
VirtualPathContext

VirtualPathContext 執行個體。

傳回

VirtualPathData 物件。 可以是 null。

實作

適用於