true if the prompt char should be considered as a valid input character; false, otherwise. By default, true.
Remarks
ResetOnPrompt takes precedence over the AllowPromptAsInput property:
ResetOnPrompt value
AllowPromptAsInput value
Behavior
true
true
The prompt character can be entered and it causes the current mask position to be reset.
true
false
The prompt character can be entered and it causes the current mask position to be reset.
false
true
The prompt character is processed as a standard input character.
false
false
The prompt character is not a valid input character.
Requirements
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2