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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈