Share via


RouteTemplate.Segments Property

Definition

Gets the list of TemplateSegment that compromise the route template.

public:
 property System::Collections::Generic::IList<Microsoft::AspNetCore::Routing::Template::TemplateSegment ^> ^ Segments { System::Collections::Generic::IList<Microsoft::AspNetCore::Routing::Template::TemplateSegment ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.AspNetCore.Routing.Template.TemplateSegment> Segments { get; }
member this.Segments : System.Collections.Generic.IList<Microsoft.AspNetCore.Routing.Template.TemplateSegment>
Public ReadOnly Property Segments As IList(Of TemplateSegment)

Property Value

Applies to