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

返回

适用于