Editar

Compartir a través de


NSMenuItem.Notifications.ObserveUnitsChanged Method

Definition

Overloads

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

Parameters

Returns

Applies to

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

Parameters

objectToObserve
NSObject

Returns

Applies to