共用方式為


NSMenuDelegate.HasKeyEquivalentForEvent 方法

定義

[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

傳回

屬性

適用於