Gets the key code.

Namespace:  ESRI.ArcGIS.Desktop.AddIns

Assembly:  ESRI.ArcGIS.Desktop.Addins (in ESRI.ArcGIS.Desktop.Addins.dll) Version: 10.0.0.0 (10.0.0.0)

Syntax

C#
public Keys KeyCode { get; }
Visual Basic (Declaration)
Public ReadOnly Property KeyCode As Keys
Visual C++
public:
property Keys KeyCode {
	Keys get ();
}

Field Value

The key code.

Remarks

Check which key on the keyboard was pressed.

See Also