Freigeben über


NSMenu.Notifications.ObserveDidAddItem Methode

Definition

Überlädt

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

Parameter

Gibt zurück

Gilt für:

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

Parameter

objectToObserve
NSObject

Gibt zurück

Gilt für: