Route.OnVirtualPathGenerated(VirtualPathContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
每當虛擬路徑衍生自 context
時執行。
protected:
override Microsoft::AspNetCore::Routing::VirtualPathData ^ OnVirtualPathGenerated(Microsoft::AspNetCore::Routing::VirtualPathContext ^ context);
protected override Microsoft.AspNetCore.Routing.VirtualPathData OnVirtualPathGenerated (Microsoft.AspNetCore.Routing.VirtualPathContext context);
protected override Microsoft.AspNetCore.Routing.VirtualPathData? OnVirtualPathGenerated (Microsoft.AspNetCore.Routing.VirtualPathContext context);
override this.OnVirtualPathGenerated : Microsoft.AspNetCore.Routing.VirtualPathContext -> Microsoft.AspNetCore.Routing.VirtualPathData
Protected Overrides Function OnVirtualPathGenerated (context As VirtualPathContext) As VirtualPathData
參數
- context
- VirtualPathContext
VirtualPathContext 執行個體。
傳回
VirtualPathData 執行個體。