共用方式為


NSApplication.Notifications.ObserveWillHide 方法

定義

多載

ObserveWillHide(EventHandler<NSNotificationEventArgs>)
ObserveWillHide(NSObject, EventHandler<NSNotificationEventArgs>)

ObserveWillHide(EventHandler<NSNotificationEventArgs>)

public static Foundation.NSObject ObserveWillHide (EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveWillHide : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject

參數

傳回

適用於

ObserveWillHide(NSObject, EventHandler<NSNotificationEventArgs>)

public static Foundation.NSObject ObserveWillHide (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveWillHide : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject

參數

objectToObserve
NSObject

傳回

適用於