Επεξεργασία

Κοινή χρήση μέσω


CreateUserWizard.PasswordRequiredErrorMessage Property

Definition

Gets or sets the text of the error message shown when the user does not enter a password.

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

Property Value

The error message shown when the user does not enter a password. The default value is "Password is required." The default text for the control is localized based on the server's current locale.

Remarks

The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and Globalization and Localization.

Applies to

See also