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

返回

适用于