共用方式為


NSApplication.Notifications.ObserveUIElementDestroyed 方法

定義

多載

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

ObserveUIElementDestroyed(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveUIElementDestroyed(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於