共用方式為


NSWorkspace.Notifications.ObserveScreensDidWake 方法

定義

多載

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

ObserveScreensDidWake(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於

ObserveScreensDidWake(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於