RouteData.Template Property
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.
Gets the route template that was used to match the route if any.
public string? Template { get; set; }
member this.Template : string with get, set
Public Property Template As String