MaxLengthRouteConstraint(Int32) Konstruktor

Definition

Initialisiert eine neue Instanz der MaxLengthRouteConstraint-Klasse.

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)

Parameter

maxLength
Int32

Die maximal zulässige Länge für den Routenparameter.

Gilt für: