RouteTemplate.GetSegment(Int32) Método

Definição

Obtém o TemplateSegment em um determinado índice.

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

Parâmetros

index
Int32

O índice do elemento a ser recuperado.

Retornos

Uma instância de TemplateSegment.

Aplica-se a