共用方式為


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

路由參數允許的最小長度。

適用於