Share via


_OlkTextBox.PasswordChar Property

Returns or sets a String (string in C#) that specifies a placeholder character that is to be displayed repetitively as a string instead of the actual characters entered in the text box. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Property PasswordChar As String
    Get
    Set
'Usage
Dim instance As _OlkTextBox
Dim value As String

value = instance.PasswordChar

instance.PasswordChar = value
string PasswordChar { get; set; }

Property Value

Type: System.String

Remarks

A common application of setting this property to True is password entry, where you would not want to display the actual characters of the password that the user enters in the text box. The default value is an empty string.

Only one character is accepted for the value of this property. If a string of more than one character is set, only the first character will be used as the placeholder character and the the rest will be ignored.

See Also

Reference

_OlkTextBox Interface

_OlkTextBox Members

Microsoft.Office.Interop.Outlook Namespace