ConsoleKeyInfo.Modifiers Property

 

Gets a bitwise combination of System.ConsoleModifiers values that specifies one or more modifier keys pressed simultaneously with the console key.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

member Modifiers : ConsoleModifiers with get

Property Value

Type: System.ConsoleModifiers

A bitwise combination of the enumeration values. There is no default value.

The following example demonstrates using a Modifiers property in a read operation.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: