MonobjcMonobjc Documented Class Library
ReplaceObjectsInRangeWithObjectsFromArrayRange Method (aRange, otherArray, otherRange)
NamespacesMonobjc.FoundationNSMutableArrayReplaceObjectsInRangeWithObjectsFromArrayRange(NSRange, NSArray, NSRange)

Replaces the objects in the receiving array specified by one given range with the objects in another array specified by another range.

Original signature is '- (void)replaceObjectsInRange:(NSRange)aRange withObjectsFromArray:(NSArray *)otherArray range:(NSRange)otherRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ReplaceObjectsInRangeWithObjectsFromArrayRange(
	NSRange aRange,
	NSArray otherArray,
	NSRange otherRange
)
Public Overridable Sub ReplaceObjectsInRangeWithObjectsFromArrayRange ( _
	aRange As NSRange, _
	otherArray As NSArray, _
	otherRange As NSRange _
)
public:
virtual void ReplaceObjectsInRangeWithObjectsFromArrayRange(
	NSRange aRange, 
	NSArray^ otherArray, 
	NSRange otherRange
)
Parameters
aRange (NSRange)
The range of objects to replace in (or remove from) the receiving array.
otherArray (NSArray)
The array of objects from which to select replacements for the objects in aRange.
otherRange (NSRange)
The range of objects to select from otherArray as replacements for the objects in aRange.
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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)