Edit

Share via


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

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
change
NSDictionary
context
IntPtr

nativeint

Attributes

Remarks

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

Applies to