Compartir a través de


MaxLengthRouteConstraint(Int32) Constructor

Definición

Inicializa una nueva instancia de la clase 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

Longitud máxima permitida para el parámetro de ruta.

Se aplica a