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