Share via


TemplatePart.ToRoutePatternPart Method

Definition

Creates a RoutePatternPart for the route part designated by the TemplatePart.

public:
 Microsoft::AspNetCore::Routing::Patterns::RoutePatternPart ^ ToRoutePatternPart();
public Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart ToRoutePatternPart ();
member this.ToRoutePatternPart : unit -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternPart
Public Function ToRoutePatternPart () As RoutePatternPart

Returns

A RoutePatternPart instance.

Applies to