共用方式為


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

傳回

適用於