MonobjcMonobjc Documented Class Library
InsertChildAtIndex Method (child, index)
NamespacesMonobjc.FoundationNSXMLElementInsertChildAtIndex(NSXMLNode, NSUInteger)

Inserts a new child node at a specified location in the receiver’s list of child nodes.

Original signature is '- (void)insertChild:(NSXMLNode *)child atIndex:(NSUInteger)index'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void InsertChildAtIndex(
	NSXMLNode child,
	NSUInteger index
)
Public Overridable Sub InsertChildAtIndex ( _
	child As NSXMLNode, _
	index As NSUInteger _
)
public:
virtual void InsertChildAtIndex(
	NSXMLNode^ child, 
	NSUInteger index
)
Parameters
child (NSXMLNode)
An XML node object to be inserted as a child of the receiver.
index (NSUInteger)
An integer identifying a position in the receiver's list of children. An exception is raised if index is out of bounds.
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)