Edit

Share via


NSMenu.Notifications.ObserveDidAddItem Method

Definition

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

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

Returns

Applies to