Partilhar via


MaxLengthRouteConstraint(Int32) Construtor

Definição

Inicializa uma nova instância da classe MaxLengthRouteConstraint.

public:
 MaxLengthRouteConstraint(int maxLength);
public MaxLengthRouteConstraint (int maxLength);
new Microsoft.AspNetCore.Routing.Constraints.MaxLengthRouteConstraint : int -> Microsoft.AspNetCore.Routing.Constraints.MaxLengthRouteConstraint
Public Sub New (maxLength As Integer)

Parâmetros

maxLength
Int32

O comprimento máximo permitido para o parâmetro de rota.

Aplica-se a