共用方式為


NSWindow.Notifications.ObserveDidChangeScreenProfile 方法

定義

多載

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

ObserveDidChangeScreenProfile(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveDidChangeScreenProfile(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於