Registers anObserver to receive key value observer notifications for the specified keypath relative to the objects at indexes.
Original signature is '- (void)addObserver:(NSObject *)anObserver toObjectsAtIndexes:(NSIndexSet *)indexes forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context'
Available in Mac OS X v10.3 and later.

C# | Visual Basic | Visual C++ |
public virtual void AddObserverToObjectsAtIndexesForKeyPathOptionsContext( NSObject anObserver, NSIndexSet indexes, NSString keyPath, NSKeyValueObservingOptions options, IntPtr context )
Public Overridable Sub AddObserverToObjectsAtIndexesForKeyPathOptionsContext ( _ anObserver As NSObject, _ indexes As NSIndexSet, _ keyPath As NSString, _ options As NSKeyValueObservingOptions, _ context As IntPtr _ )
public: virtual void AddObserverToObjectsAtIndexesForKeyPathOptionsContext( NSObject^ anObserver, NSIndexSet^ indexes, NSString^ keyPath, NSKeyValueObservingOptions options, IntPtr context )

- anObserver (NSObject)
- The observer.
- indexes (NSIndexSet)
- The index set.
- keyPath (NSString)
- The key path, relative to the array, to be observed.
- options (NSKeyValueObservingOptions)
- The options to be included in the notification.
- context (IntPtr)
- The context passed to the notifications.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)