NSDrawer.Notifications.ObserveWillClose 方法

定义

重载

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

参数

返回

适用于

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

参数

objectToObserve
NSObject

返回

适用于