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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.