MaxRouteConstraint Class

 

Constrains a route parameter to be an integer with a maximum value.

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

System.Object
  System.Web.Mvc.Routing.Constraints.MaxRouteConstraint

type MaxRouteConstraint = 
    class
        interface IRouteConstraint
    end

NameDescription
System_CAPS_pubmethodMaxRouteConstraint(Int64)

Initializes a new instance of the MaxRouteConstraint class.

NameDescription
System_CAPS_pubpropertyMax

Gets the maximum value of the route parameter.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatch(HttpContextBase, Route, String, RouteValueDictionary, RouteDirection)

Determines whether this instance equals a specified route.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: