NSEvent.KeyEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("keyEventWithType:___location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AppKit.NSEvent KeyEvent(AppKit.NSEventType type, CoreGraphics.CGPoint ___location, AppKit.NSEventModifierMask flags, double time, IntPtr wNum, AppKit.NSGraphicsContext? context, string keys, string ukeys, bool isARepeat, ushort code);
[<Foundation.Export("keyEventWithType:___location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member KeyEvent : AppKit.NSEventType * CoreGraphics.CGPoint * AppKit.NSEventModifierMask * double * nativeint * AppKit.NSGraphicsContext * string * string * bool * uint16 -> AppKit.NSEvent
Parameters
- type
- NSEventType
- ___location
- CGPoint
- flags
- NSEventModifierMask
- time
- Double
- wNum
-
IntPtr
nativeint
- context
- NSGraphicsContext
- keys
- String
- ukeys
- String
- isARepeat
- Boolean
- code
- UInt16
Returns
- Attributes