Updated: April 27, 2016
Applies To: Windows PowerShell
Defines the options used to control the behavior of the ReadKey method.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Allow Ctrl-C to be processed as a keystroke, as opposed to causing a break event.
Include key down events. Either one of IncludeKeyDown and IncludeKeyUp or both must be specified.
Include key up events. Either one of IncludeKeyDown and IncludeKeyUp or both must be specified.
Do not display the character for the key in the window when pressed.