Condividi tramite


RouteTemplate.GetSegment(Int32) Metodo

Definizione

Ottiene l'oggetto TemplateSegment in corrispondenza di un determinato indice.

public:
 Microsoft::AspNetCore::Routing::Template::TemplateSegment ^ GetSegment(int index);
public Microsoft.AspNetCore.Routing.Template.TemplateSegment GetSegment (int index);
public Microsoft.AspNetCore.Routing.Template.TemplateSegment? GetSegment (int index);
member this.GetSegment : int -> Microsoft.AspNetCore.Routing.Template.TemplateSegment
Public Function GetSegment (index As Integer) As TemplateSegment

Parametri

index
Int32

Indice dell'elemento da recuperare.

Restituisce

Istanza di TemplateSegment.

Si applica a