共用方式為


NSApplication.Notifications.ObserveWillResignActive 方法

定義

多載

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

ObserveWillResignActive(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveWillResignActive(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於