共用方式為


NSApplication.Notifications.ObserveFocusedWindowChanged 方法

定義

多載

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

ObserveFocusedWindowChanged(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveFocusedWindowChanged(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於