Share via


RangeRouteConstraint(Int64, Int64) Constructor

Definition

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.

Applies to