NSApplication.Notifications.ObserveAnnouncementRequested 方法

定义

重载

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

ObserveAnnouncementRequested(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveAnnouncementRequested(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于