NSWorkspace.Notifications.ObserveDidDeactivateApplication 方法

定义

重载

ObserveDidDeactivateApplication(EventHandler<NSWorkspaceApplicationEventArgs>)
ObserveDidDeactivateApplication(NSObject, EventHandler<NSWorkspaceApplicationEventArgs>)

ObserveDidDeactivateApplication(EventHandler<NSWorkspaceApplicationEventArgs>)

public static Foundation.NSObject ObserveDidDeactivateApplication (EventHandler<AppKit.NSWorkspaceApplicationEventArgs> handler);
static member ObserveDidDeactivateApplication : EventHandler<AppKit.NSWorkspaceApplicationEventArgs> -> Foundation.NSObject

参数

返回

适用于

ObserveDidDeactivateApplication(NSObject, EventHandler<NSWorkspaceApplicationEventArgs>)

public static Foundation.NSObject ObserveDidDeactivateApplication (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSWorkspaceApplicationEventArgs> handler);
static member ObserveDidDeactivateApplication : Foundation.NSObject * EventHandler<AppKit.NSWorkspaceApplicationEventArgs> -> Foundation.NSObject

参数

objectToObserve
NSObject

返回

适用于