MaxRouteConstraint(Int64) 构造函数

定义

初始化 MaxRouteConstraint 类的新实例。

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)

参数

max
Int64

路由参数允许的最大值。

适用于