Share via


NSManagedObjectContext.ObserveValue Method

Definition

Observes the object that is identified by the provided object and keypath for changes.

[Foundation.Export("observeValueForKeyPath:ofObject:change:context:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ObserveValue(string? keyPath, Foundation.NSObject? object1, Foundation.NSDictionary? change, IntPtr context);
[<Foundation.Export("observeValueForKeyPath:ofObject:change:context:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.ObserveValue : string * Foundation.NSObject * Foundation.NSDictionary * nativeint -> unit

Parameters

keyPath
String
object1
NSObject
change
NSDictionary

To be added.

This parameter can be null.

context
IntPtr

nativeint

Attributes

Applies to