Replaces the object at index with anObject.
Original signature is '- (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void ReplaceObjectAtIndexWithObject( NSUInteger index, Id anObject )
Public Overridable Sub ReplaceObjectAtIndexWithObject ( _ index As NSUInteger, _ anObject As Id _ )
public: virtual void ReplaceObjectAtIndexWithObject( NSUInteger index, Id^ anObject )
Parameters
- index (NSUInteger)
- The index of the object to be replaced. This value must not exceed the bounds of the array.
- anObject (Id)
- The object with which to replace the object at index index in the array. This value must not be nil.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)