CreateUserWizard.PasswordHintText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the text that describes password requirements.
public:
virtual property System::String ^ PasswordHintText { System::String ^ get(); void set(System::String ^ value); };
public virtual string PasswordHintText { get; set; }
member this.PasswordHintText : string with get, set
Public Overridable Property PasswordHintText As String
Property Value
The text that describes password requirements. The default value is an empty string ("").
Remarks
You can use the PasswordHintText property to provide guidelines and requirements for the user on how to create a password. For example, you could set the PasswordHintText property to "Your password must be at least six characters long." You can then use the PasswordRegularExpression property to validate that the user entered a password that conforms to the guidelines.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應