PrependChild()

XmlNode::PrependChild(SharedPtr<XmlNode>) method

Adds the specified node to the beginning of the list of child nodes for this node.

virtual SharedPtr<XmlNode> System::Xml::XmlNode::PrependChild(SharedPtr<XmlNode> newChild)

Arguments

ParameterTypeDescription
newChildSharedPtr<XmlNode>The node to add. All the contents of the node to be added are moved into the specified location.

Return Value

The node added.

See Also