NSEvent.KeyEvent 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[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
參數
- type
- NSEventType
- location
- CGPoint
- flags
- NSEventModifierMask
- time
- Double
- wNum
- System.System.IntPtr System.nativeint
- context
- NSGraphicsContext
- keys
- String
- ukeys
- String
- isARepeat
- Boolean
- code
- UInt16
傳回
- 屬性