NSWorkspace.Notifications.ObserveDisplayOptionsDidChange 方法

定义

重载

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

ObserveDisplayOptionsDidChange(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveDisplayOptionsDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于