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