The formatted string that includes prompts and mask literals.
The MaskedTextProvider.ToDisplayString method will always include prompt and literal characters in the return value, regardless of the value of the MaskedTextProvider.IncludePrompt or MaskedTextProvider.IncludeLiterals properties. This method will always display password characters if the MaskedTextProvider.PasswordChar property is set to a character value other than null.
MaskedTextProvider.ToDisplayString is commonly used to obtain the string to display in associated user interface elements, such as System.Windows.Forms.MaskedTextBox.