NSDrawer.Notifications.ObserveUnitsChanged 方法

定义

重载

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

ObserveUnitsChanged(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveUnitsChanged(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于