TemplateParser.Parse(String) 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.
Creates a RouteTemplate for a given routeTemplate
string.
public:
static Microsoft::AspNetCore::Routing::Template::RouteTemplate ^ Parse(System::String ^ routeTemplate);
public static Microsoft.AspNetCore.Routing.Template.RouteTemplate Parse (string routeTemplate);
static member Parse : string -> Microsoft.AspNetCore.Routing.Template.RouteTemplate
Public Shared Function Parse (routeTemplate As String) As RouteTemplate
Parameters
- routeTemplate
- String
A string representation of the route template.
Returns
A RouteTemplate instance.