MonobjcMonobjc Documented Class Library
KeyCode Property
NamespacesMonobjc.AppKitNSEventKeyCode

Returns the virtual key code for the keyboard key associated with the receiving key event.

Original signature is '- (unsigned short)keyCode'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual ushort KeyCode { get; }
Public Overridable ReadOnly Property KeyCode As UShort
	Get
public:
virtual property unsigned short KeyCode {
	unsigned short get ();
}
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)