共用方式為


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

傳回

適用於