This documentation is archived and is not being maintained.

KeyEventArgs.KeyValue Property

Gets the keyboard value for a KeyDown or KeyUp event.

[Visual Basic]
Public ReadOnly Property KeyValue As Integer
public int KeyValue {get;}
public: __property int get_KeyValue();
public function get KeyValue() : int;

Property Value

The integer representation of the KeyData property.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

KeyEventArgs Class | KeyEventArgs Members | System.Windows.Forms Namespace | KeyData | KeyCode