ReplaceChild()

XmlAttribute::ReplaceChild(SharedPtr<XmlNode>, SharedPtr<XmlNode>) method

Replaces the child node specified with the new child node specified.

SharedPtr<XmlNode> System::Xml::XmlAttribute::ReplaceChild(SharedPtr<XmlNode> newChild, SharedPtr<XmlNode> oldChild) override

Arguments

ParameterTypeDescription
newChildSharedPtr<XmlNode>The new child XmlNode.
oldChildSharedPtr<XmlNode>The XmlNode to replace.

Return Value

The XmlNode replaced.

See Also