Поделиться через


NSEvent.KeyEvent Метод

Определение

[Foundation.Export("keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:")]
public static AppKit.NSEvent KeyEvent (AppKit.NSEventType type, CoreGraphics.CGPoint location, AppKit.NSEventModifierMask flags, double time, nint wNum, AppKit.NSGraphicsContext context, string keys, string ukeys, bool isARepeat, ushort code);
static member KeyEvent : AppKit.NSEventType * CoreGraphics.CGPoint * AppKit.NSEventModifierMask * double * nint * AppKit.NSGraphicsContext * string * string * bool * uint16 -> AppKit.NSEvent

Параметры

location
CGPoint
time
Double
wNum
System.System.IntPtr System.nativeint
keys
String
ukeys
String
isARepeat
Boolean
code
UInt16

Возвращаемое значение

Атрибуты

Применяется к