MonobjcMonobjc Documented Class Library
ReplaceChildAtIndexWithNode Method (index, node)
NamespacesMonobjc.FoundationNSXMLElementReplaceChildAtIndexWithNode(NSUInteger, NSXMLNode)

Replaces a child node at a specified location with another child node.

Original signature is '- (void)replaceChildAtIndex:(NSUInteger)index withNode:(NSXMLNode *)node'

Available in Mac OS X v10.4 and later.

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