次の方法で共有


NSArray.AddObserver メソッド

定義

[Foundation.Export("addObserver:toObjectsAtIndexes:forKeyPath:options:context:")]
public virtual void AddObserver (Foundation.NSObject observer, Foundation.NSIndexSet indexes, string keyPath, Foundation.NSKeyValueObservingOptions options, IntPtr context);
override this.AddObserver : Foundation.NSObject * Foundation.NSIndexSet * string * Foundation.NSKeyValueObservingOptions * nativeint -> unit

パラメーター

observer
NSObject
indexes
NSIndexSet
keyPath
String
context
IntPtr

nativeint

属性

適用対象