Share via


TemplateSegment.ToRoutePatternPathSegment Method

Definition

Returns a RoutePatternPathSegment for the template segment.

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

Returns

A RoutePatternPathSegment instance.

Applies to