Tests whether the specified character would be escaped at the specified position.
Assembly: System (in System.dll)
- Type: System.Int32
The position in the mask to test the input character against.
Return ValueType: System.Boolean
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 AllowPromptAsInput property is true.
Input characters are escaped if they have the same value as the literal in the mask, and if the SkipLiterals property is true.
Space characters are escaped if the ResetOnSpace property is true.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.