Table of contents
Collapse the table of content
Expand the table of content

PasswordChar Property

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Specifies whether placeholder characters are displayed instead of the characters actually entered in a TextBox. Syntaxobject. PasswordChar [= String ] The PasswordChar property syntax has these parts:

objectRequired. A valid object.
StringOptional. A string expression specifying the placeholder character.

Remarks You can use the PasswordChar property to protect sensitive information, such as passwords or security codes. The value of PasswordChar is the character that appears in a control instead of the actual characters that the user types. If you don't specify a character, the control displays the characters that the user types.

© 2018 Microsoft