Redigera

Dela via


CreateUserWizard.UserNameRequiredErrorMessage Property

Definition

Gets or sets the error message displayed when the user name text box is left blank.

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

Property Value

The error message displayed when the user name text box is left blank. The default value is "User Name 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