NSApplication.Notifications.ObserveWillBecomeActive 方法

定义

重载

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

ObserveWillBecomeActive(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveWillBecomeActive(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于