共用方式為


NSView.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

傳回

適用於