NSWorkspace.Notifications.ObserveWillLaunchApplication 方法

定义

重载

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

ObserveWillLaunchApplication(EventHandler<NSWorkspaceApplicationEventArgs>)

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

参数

返回

适用于

ObserveWillLaunchApplication(NSObject, EventHandler<NSWorkspaceApplicationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于