MembershipPasswordAttribute.MinPasswordLengthError 属性

定义

获取或设置 MinPasswordLengthError 特性。

public:
 property System::String ^ MinPasswordLengthError { System::String ^ get(); void set(System::String ^ value); };
public string MinPasswordLengthError { get; set; }
member this.MinPasswordLengthError : string with get, set
Public Property MinPasswordLengthError As String

属性值

String

MinPasswordLengthError 特性。

注解

MinPasswordLengthError属性包含文本、非本地化字符串或可与属性一起使用的资源键, ResourceType 用于配置本地化错误消息。 当提供的密码短于属性时,将显示错误消息 MinRequiredPasswordLength

适用于