共用方式為


RouteBase.OnVirtualPathGenerated(VirtualPathContext) 方法

定義

每當虛擬路徑衍生自 context 時執行。

protected:
 abstract Microsoft::AspNetCore::Routing::VirtualPathData ^ OnVirtualPathGenerated(Microsoft::AspNetCore::Routing::VirtualPathContext ^ context);
protected abstract Microsoft.AspNetCore.Routing.VirtualPathData OnVirtualPathGenerated (Microsoft.AspNetCore.Routing.VirtualPathContext context);
protected abstract Microsoft.AspNetCore.Routing.VirtualPathData? OnVirtualPathGenerated (Microsoft.AspNetCore.Routing.VirtualPathContext context);
abstract member OnVirtualPathGenerated : Microsoft.AspNetCore.Routing.VirtualPathContext -> Microsoft.AspNetCore.Routing.VirtualPathData
Protected MustOverride Function OnVirtualPathGenerated (context As VirtualPathContext) As VirtualPathData

參數

context
VirtualPathContext

VirtualPathContext 執行個體。

傳回

VirtualPathData 執行個體。

適用於