- input
- The char value to test.
- position
- The position in the mask to test the input character against.
true if the specified character would be escaped at the specified position; otherwise, false.
A character is said to be escaped if it is valid input, but is not assigned to that position in the formatted string. Escaped characters fall into the following three categories:
Prompt characters are escaped if the MaskedTextProvider.AllowPromptAsInput property is true.
Input characters are escaped if they have the same value as the literal in the mask, and if the MaskedTextProvider.SkipLiterals property is true.
Space characters are escaped if the MaskedTextProvider.ResetOnSpace property is true.
The MaskedTextProvider.VerifyEscapeChar(char, int) method will also return false if the pos parameter is less than zero or greater than the MaskedTextProvider.Length of the MaskedTextProvider.Mask.