ConsoleModifiers Enumeration
.NET Framework (current version)
Represents the SHIFT, ALT, and CTRL modifier keys on a keyboard.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
| Alt | The left or right ALT modifier key. | |
| Control | The left or right CTRL modifier key. | |
| Shift | The left or right SHIFT modifier key. |
No distinction is made between the left or right SHIFT, ALT, and CTRL keys.
The ConsoleModifiers enumeration is used in conjunction with the ConsoleKeyInfo type.
.NET Framework
Available since 2.0
Available since 2.0
Show: