共用方式為


NSApplication.Notifications.ObserveApplicationHidden 方法

定義

多載

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

ObserveApplicationHidden(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveApplicationHidden(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於