編輯

共用方式為


NSWindow.Notifications.ObserveDidChangeScreen Method

Definition

Overloads

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

Parameters

Returns

Applies to

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

Parameters

objectToObserve
NSObject

Returns

Applies to