共用方式為


NSApplication.Notifications.ObserveApplicationShown 方法

定義

多載

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

ObserveApplicationShown(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveApplicationShown(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於