MaxRouteConstraint Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constrains a route parameter to be an integer with a maximum value.
public ref class MaxRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraintpublic class MaxRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraintpublic class MaxRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicytype MaxRouteConstraint = class
    interface IRouteConstrainttype MaxRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicytype MaxRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicytype MaxRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraintPublic Class MaxRouteConstraint
Implements IRouteConstraintPublic Class MaxRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint- Inheritance
- 
				MaxRouteConstraint
- Implements
Constructors
| MaxRouteConstraint(Int64) | Initializes a new instance of the MaxRouteConstraint class. | 
Properties
| Max | Gets the maximum allowed value of the route parameter. | 
Methods
| Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection) | Determines whether the URL parameter contains a valid value for this constraint. | 
Explicit Interface Implementations
| IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String) |