NSWindow.Notifications.ObserveDidChangeScreen 方法

定义

重载

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

ObserveDidChangeScreen(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveDidChangeScreen(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于