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

返回

适用于