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