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

Inserts a child node in the receiver’s list of children at a specific location in the list.

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 that represents the child to insert.
index (NSUInteger)
An integer identifying the location in the receiver's list of children to insert child. The indices of subsequent children in the list are incremented by one.
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)