PrependChild()

XmlAttribute::PrependChild(SharedPtr<XmlNode>) method

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

SharedPtr<XmlNode> System::Xml::XmlAttribute::PrependChild(SharedPtr<XmlNode> newChild) override

Arguments

ParameterTypeDescription
newChildSharedPtr<XmlNode>The XmlNode to add. If it is an XmlDocumentFragment, the entire contents of the document fragment are moved into the child list of this node.

Return Value

The XmlNode added.

See Also