Dela via


InlineRouteParameterParser.ParseRouteParameter(String) Method

Definition

Parses a string representing the provided routeParameter into a TemplatePart.

public:
 static Microsoft::AspNetCore::Routing::Template::TemplatePart ^ ParseRouteParameter(System::String ^ routeParameter);
public static Microsoft.AspNetCore.Routing.Template.TemplatePart ParseRouteParameter (string routeParameter);
static member ParseRouteParameter : string -> Microsoft.AspNetCore.Routing.Template.TemplatePart
Public Shared Function ParseRouteParameter (routeParameter As String) As TemplatePart

Parameters

routeParameter
String

A string representation of the route parameter.

Returns

A TemplatePart instance.

Applies to