NSObject.ObserveValue(NSString, NSObject, NSDictionary, IntPtr) NSObject.ObserveValue(NSString, NSObject, NSDictionary, IntPtr) Method

Definition

Indicates that the value at the specified keyPath relative to this object has changed.

[Foundation.Export("observeValueForKeyPath:ofObject:change:context:")]
public virtual void ObserveValue (Foundation.NSString keyPath, Foundation.NSObject ofObject, Foundation.NSDictionary change, IntPtr context);
abstract member ObserveValue : Foundation.NSString * Foundation.NSObject * Foundation.NSDictionary * nativeint -> unit
override this.ObserveValue : Foundation.NSString * Foundation.NSObject * Foundation.NSDictionary * nativeint -> unit

Parameters

keyPath
NSString NSString

Key-path to use to perform the value lookup. The keypath consists of a series of lowercase ASCII-strings with no spaces in them separated by dot characters.

ofObject
NSObject NSObject
context
IntPtr IntPtr

Remarks

This method is invoked if you have registered an observer using the AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) method

Applies to