共用方式為


NSMenu.Notifications.ObserveWillSendAction 方法

定義

多載

ObserveWillSendAction(NSObject, EventHandler<NSMenuItemEventArgs>)
ObserveWillSendAction(EventHandler<NSMenuItemEventArgs>)

ObserveWillSendAction(NSObject, EventHandler<NSMenuItemEventArgs>)

public static Foundation.NSObject ObserveWillSendAction (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSMenuItemEventArgs> handler);
static member ObserveWillSendAction : Foundation.NSObject * EventHandler<AppKit.NSMenuItemEventArgs> -> Foundation.NSObject

參數

objectToObserve
NSObject

傳回

適用於

ObserveWillSendAction(EventHandler<NSMenuItemEventArgs>)

public static Foundation.NSObject ObserveWillSendAction (EventHandler<AppKit.NSMenuItemEventArgs> handler);
static member ObserveWillSendAction : EventHandler<AppKit.NSMenuItemEventArgs> -> Foundation.NSObject

參數

傳回

適用於