다음을 통해 공유


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

특성

적용 대상