Visual Basic (Declaration) | |
---|---|
Public shiftState As Short |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As KeyUpEventArgs Dim value As Short value = instance.shiftState instance.shiftState = value |
C# | |
---|---|
public short shiftState |
C++/CLI | |
---|---|
public: short shiftState |
The short integer shift state flags. 0x0001 = Shift is pressed, 0x0002 = Ctrl is pressed, and 0x0004 = Alt is pressed
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7