共用方式為


NSMenu.Notifications.ObserveDidSendAction 方法

定義

多載

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

ObserveDidSendAction(EventHandler<NSMenuItemEventArgs>)

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

參數

傳回

適用於

ObserveDidSendAction(NSObject, EventHandler<NSMenuItemEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於