StringLengthAttribute.MinimumLength 属性

定义

获取或设置字符串的最小长度。

public:
 property int MinimumLength { int get(); void set(int value); };
public int MinimumLength { get; set; }
member this.MinimumLength : int with get, set
Public Property MinimumLength As Integer

属性值

字符串的最小长度。

适用于