Dela via


TemplateParser.Parse(String) Method

Definition

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.

Applies to