Compartilhar via


NSManagedObjectContext.ObserveValueForKeyPath Método

Definição

Observa o objeto identificado pelo objeto fornecido e pelo keypath para alterações.

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

Parâmetros

keyPath
String
object1
IntPtr

nativeint

change
NSDictionary

A ser adicionado.

Esse parâmetro pode ser null.

context
IntPtr

nativeint

Atributos

Aplica-se a