共用方式為


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

適用於