MaxLengthRouteConstraint.MaxLength Property
Gets the maximum length of the route parameter.
Namespace: System.Web.Mvc.Routing.Constraints
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
public int MaxLength { get; private set; }
public:
property int MaxLength {
int get();
private: void set(int value);
}
member MaxLength : int with get, private set
Public Property MaxLength As Integer
Get
Private Set
End Property
Property Value
Type: System.Int32
See Also
MaxLengthRouteConstraint Class
System.Web.Mvc.Routing.Constraints Namespace
Return to top