MobileForms Toolkit Documentation

MaskedTextProvider.ToString Method (Boolean, Boolean, Char)

Returns the formatted string, optionally including prompt and literal characters.

public virtual string ToString(
bool includePrompt,
bool includeLiterals,
char passwordChar
);

Parameters

includePrompt
true to include prompt characters in the return string; otherwise, false.
includeLiterals
true to include literal characters in the return string; otherwise, false.
passwordChar
The character used to mask characters in formatted string. Set the value of this parameter to 0 (character value) if you do not want to mask characters.

Return Value

The formatted String that includes all the assigned character values and optionally includes literals and prompts.

Remarks

This version of the overloaded ToString method includes prompts and literals according to the values of the includePrompt and includeLiterals parameters, respectively.

See Also

MaskedTextProvider Class | Resco.Controls.MaskedTextBox Namespace | MaskedTextProvider.ToString Overload List