NSPopover.Notifications.ObserveValueChanged 方法

定义

重载

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

ObserveValueChanged(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveValueChanged(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于