Share via


MinLengthRouteConstraint.MinLength Property

 

Gets the minimum length of the route parameter.

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

Syntax

public int MinLength { get; private set; }
public:
property int MinLength {
    int get();
    private: void set(int value);
}
member MinLength : int with get, private set
Public Property MinLength As Integer
    Get
    Private Set
End Property

Property Value

Type: System.Int32

The minimum length of the route parameter.

See Also

MinLengthRouteConstraint Class
System.Web.Mvc.Routing.Constraints Namespace

Return to top