MonobjcMonobjc Documented Class Library
InsertChildrenAtIndex Method (children, index)
NamespacesMonobjc.FoundationNSXMLDocumentInsertChildrenAtIndex(NSArray, NSUInteger)

Inserts an array of children at a specified position in the receiver’s array of children.

Original signature is '- (void)insertChildren:(NSArray *)children atIndex:(NSUInteger)index'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void InsertChildrenAtIndex(
	NSArray children,
	NSUInteger index
)
Public Overridable Sub InsertChildrenAtIndex ( _
	children As NSArray, _
	index As NSUInteger _
)
public:
virtual void InsertChildrenAtIndex(
	NSArray^ children, 
	NSUInteger index
)
Parameters
children (NSArray)
An array of NSXMLNode objects representing comments, processing instructions, or the root element.
index (NSUInteger)
An integer identifying the location in the receiver's children array for insertion. The indexes of children after the new child are increased by [children count]. If index is less than zero or greater than the number of children, an out-of-bounds exception is raised.
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)