MembershipPasswordAttribute.PasswordStrengthRegularExpression 属性

定义

获取或设置表示属性用于验证的密码长度的正则表达式字符串。

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

属性值

String

正则表达式字符串表示密码加强了用于验证的特性。

注解

如果 PasswordStrengthRegularExpression 未显式设置属性,它将使用属性的值 PasswordStrengthRegularExpression

适用于