NSMenu.Notifications.ObserveDidAddItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ObserveDidAddItem(EventHandler<NSMenuItemIndexEventArgs>) | |
ObserveDidAddItem(NSObject, EventHandler<NSMenuItemIndexEventArgs>) |
ObserveDidAddItem(EventHandler<NSMenuItemIndexEventArgs>)
public static Foundation.NSObject ObserveDidAddItem (EventHandler<AppKit.NSMenuItemIndexEventArgs> handler);
static member ObserveDidAddItem : EventHandler<AppKit.NSMenuItemIndexEventArgs> -> Foundation.NSObject
Parameters
- handler
- EventHandler<NSMenuItemIndexEventArgs>
Returns
Applies to
ObserveDidAddItem(NSObject, EventHandler<NSMenuItemIndexEventArgs>)
public static Foundation.NSObject ObserveDidAddItem (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSMenuItemIndexEventArgs> handler);
static member ObserveDidAddItem : Foundation.NSObject * EventHandler<AppKit.NSMenuItemIndexEventArgs> -> Foundation.NSObject
Parameters
- objectToObserve
- NSObject
- handler
- EventHandler<NSMenuItemIndexEventArgs>