Condividi tramite


NSWorkspace.Notifications.ObserveScreensDidSleep Metodo

Definizione

Overload

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

ObserveScreensDidSleep(EventHandler<NSNotificationEventArgs>)

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

Parametri

Restituisce

Si applica a

ObserveScreensDidSleep(NSObject, EventHandler<NSNotificationEventArgs>)

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

Parametri

objectToObserve
NSObject

Restituisce

Si applica a