Share via


LengthRouteConstraint.MinLength Property

 

Gets the minimum length of the route parameter, if one is set.

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

Syntax

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

Property Value

Type: System.Nullable<Int32>

See Also

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

Return to top