Share via


MaxRouteConstraint(Int64) Constructor

Definition

Initializes a new instance of the MaxRouteConstraint class.

public:
 MaxRouteConstraint(long max);
public MaxRouteConstraint (long max);
new Microsoft.AspNetCore.Routing.Constraints.MaxRouteConstraint : int64 -> Microsoft.AspNetCore.Routing.Constraints.MaxRouteConstraint
Public Sub New (max As Long)

Parameters

max
Int64

The maximum value allowed for the route parameter.

Applies to