Sdílet prostřednictvím


MaxLengthRouteConstraint(Int32) Konstruktor

Definice

Inicializuje novou instanci MaxLengthRouteConstraint třídy.

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)

Parametry

maxLength
Int32

Maximální délka povolená pro parametr trasy.

Platí pro