共用方式為


NSMenu.Notifications.ObserveDidRemoveItem 方法

定義

多載

ObserveDidRemoveItem(EventHandler<NSMenuItemIndexEventArgs>)
ObserveDidRemoveItem(NSObject, EventHandler<NSMenuItemIndexEventArgs>)

ObserveDidRemoveItem(EventHandler<NSMenuItemIndexEventArgs>)

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

參數

傳回

適用於

ObserveDidRemoveItem(NSObject, EventHandler<NSMenuItemIndexEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於