Partager via


ReadKeyOptions Enum

Definition

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.

Applies to