Replaces the child node of the receiver located at a specified position in its array of children with another node.
Original signature is '- (void)replaceChildAtIndex:(NSUInteger)index withNode:(NSXMLNode *)node'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual 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 array of children. If index is less than zero or greater than the number of children minus one, an out-of-bounds exception is raised.
- node (NSXMLNode)
- An NSXMLNode object to replace the one at index; it must represent a comment, a processing instruction, or the root element.
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)