ReadKeyOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Governs the behavior of ReadKey() and ReadKey(ReadKeyOptions)
This enumeration supports a bitwise combination of its member values.
public enum class ReadKeyOptions
[System.Flags]
public enum ReadKeyOptions
[<System.Flags>]
type ReadKeyOptions =
Public Enum ReadKeyOptions
- Inheritance
-
ReadKeyOptions
- Attributes
Fields
Name | Value | Description |
---|---|---|
AllowCtrlC | 1 | Allow Ctrl-C to be processed as a keystroke, as opposed to causing a break event. |
NoEcho | 2 | Do not display the character for the key in the window when pressed. |
IncludeKeyDown | 4 | Include key down events. Either one of IncludeKeyDown and IncludeKeyUp or both must be specified. |
IncludeKeyUp | 8 | Include key up events. Either one of IncludeKeyDown and IncludeKeyUp or both must be specified. |