MembershipPasswordAttribute.PasswordStrengthError 属性

定义

获取或设置 PasswordStrengthError 特性。

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

属性值

String

PasswordStrengthError 特性。

注解

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

适用于