System::Xml::XmlNode::ReplaceChild method

XmlNode::ReplaceChild method

Replaces the child node oldChild with newChild node.

virtual SharedPtr<XmlNode> System::Xml::XmlNode::ReplaceChild(SharedPtr<XmlNode> newChild, SharedPtr<XmlNode> oldChild)
ParameterTypeDescription
newChildSharedPtr<XmlNode>The new node to put in the child list.
oldChildSharedPtr<XmlNode>The node being replaced in the list.

ReturnValue

The node replaced.

See Also