編輯

共用方式為


NSWorkspace.Notifications.ObserveDidLaunchApplication Method

Definition

Overloads

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

ObserveDidLaunchApplication(EventHandler<NSWorkspaceApplicationEventArgs>)

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

Parameters

Returns

Applies to

ObserveDidLaunchApplication(NSObject, EventHandler<NSWorkspaceApplicationEventArgs>)

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

Parameters

objectToObserve
NSObject

Returns

Applies to