Exchanges the objects in the array at given indices.
Original signature is '- (void)exchangeObjectAtIndex:(NSUInteger)idx1 withObjectAtIndex:(NSUInteger)idx2'
Available in Mac OS X v10.2 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void ExchangeObjectAtIndexWithObjectAtIndex( NSUInteger idx1, NSUInteger idx2 )
Public Overridable Sub ExchangeObjectAtIndexWithObjectAtIndex ( _ idx1 As NSUInteger, _ idx2 As NSUInteger _ )
public: virtual void ExchangeObjectAtIndexWithObjectAtIndex( NSUInteger idx1, NSUInteger idx2 )
Parameters
- idx1 (NSUInteger)
- The index of the object with which to replace the object at index idx2.
- idx2 (NSUInteger)
- The index of the object with which to replace the object at index idx1.
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)