Route.OnVirtualPathGenerated(VirtualPathContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes whenever a virtual path is derived from a 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
Parameters
- context
- VirtualPathContext
A VirtualPathContext instance.
Returns
A VirtualPathData instance.