RangeRouteConstraint(Int64, Int64) Constructor
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.
Initializes a new instance of the RangeRouteConstraint class.
public:
RangeRouteConstraint(long min, long max);
public RangeRouteConstraint (long min, long max);
new Microsoft.AspNetCore.Routing.Constraints.RangeRouteConstraint : int64 * int64 -> Microsoft.AspNetCore.Routing.Constraints.RangeRouteConstraint
Public Sub New (min As Long, max As Long)
Parameters
- min
- Int64
The minimum value.
- max
- Int64
The maximum value.
Remarks
The minimum value should be less than or equal to the maximum value.