MaxLengthRouteConstraint.MaxLength Property

 

Gets the maximum length of the route parameter.

Namespace:   System.Web.Http.Routing.Constraints
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public int MaxLength {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    private set;
}
public:
property int MaxLength {
    [CompilerGeneratedAttribute]
    int get();
    [CompilerGeneratedAttribute]
    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

The maximum length of the route parameter.

See Also

MaxLengthRouteConstraint Class
System.Web.Http.Routing.Constraints Namespace

Return to top