MinLengthRouteConstraint(Int32) 构造函数

定义

初始化 MinLengthRouteConstraint 类的新实例。

public:
 MinLengthRouteConstraint(int minLength);
public MinLengthRouteConstraint (int minLength);
new Microsoft.AspNetCore.Routing.Constraints.MinLengthRouteConstraint : int -> Microsoft.AspNetCore.Routing.Constraints.MinLengthRouteConstraint
Public Sub New (minLength As Integer)

参数

minLength
Int32

路由参数允许的最小长度。

适用于