Export (0) Print
Expand All

MaxRouteConstraint Class

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

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

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

public class MaxRouteConstraint : IRouteConstraint

The MaxRouteConstraint type exposes the following members.

  NameDescription
Public methodMaxRouteConstraintInitializes a new instance of the MaxRouteConstraint class.
Top

  NameDescription
Public propertyMaxGets the maximum value of the route parameter.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodMatchDetermines whether this instance equals a specified route.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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