MaxLengthRouteConstraint Constructor (Int32)
Initializes a new instance of the MaxLengthRouteConstraint class.
Namespace: System.Web.Http.Routing.Constraints
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public MaxLengthRouteConstraint(
int maxLength
)
public:
MaxLengthRouteConstraint(
int maxLength
)
new :
maxLength:int -> MaxLengthRouteConstraint
Public Sub New (
maxLength As Integer
)
Parameters
maxLength
Type: System.Int32The maximum length.
See Also
MaxLengthRouteConstraint Class
System.Web.Http.Routing.Constraints Namespace
Return to top