NSMenuDelegate.HasKeyEquivalentForEvent 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[Foundation.Export("menuHasKeyEquivalent:forEvent:target:action:")]
public virtual bool HasKeyEquivalentForEvent (AppKit.NSMenu menu, AppKit.NSEvent theEvent, Foundation.NSObject target, ObjCRuntime.Selector action);
abstract member HasKeyEquivalentForEvent : AppKit.NSMenu * AppKit.NSEvent * Foundation.NSObject * ObjCRuntime.Selector -> bool
override this.HasKeyEquivalentForEvent : AppKit.NSMenu * AppKit.NSEvent * Foundation.NSObject * ObjCRuntime.Selector -> bool
參數
- menu
- NSMenu
- theEvent
- NSEvent
- target
- NSObject
- action
- Selector
傳回
- 屬性