NSMenu.Notifications.ObserveCreated 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
ObserveCreated(EventHandler<NSNotificationEventArgs>) | |
ObserveCreated(NSObject, EventHandler<NSNotificationEventArgs>) |
ObserveCreated(EventHandler<NSNotificationEventArgs>)
public static Foundation.NSObject ObserveCreated (EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveCreated : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject
Parameters
- handler
- EventHandler<NSNotificationEventArgs>
Returns
Applies to
ObserveCreated(NSObject, EventHandler<NSNotificationEventArgs>)
public static Foundation.NSObject ObserveCreated (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveCreated : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject
Parameters
- objectToObserve
- NSObject
- handler
- EventHandler<NSNotificationEventArgs>