InsertBefore()

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

Inserts the specified node immediately before the specified reference node.

SharedPtr<XmlNode> System::Xml::XmlAttribute::InsertBefore(SharedPtr<XmlNode> newChild, SharedPtr<XmlNode> refChild) override

Arguments

ParameterTypeDescription
newChildSharedPtr<XmlNode>The XmlNode to insert.
refChildSharedPtr<XmlNode>The XmlNode that is the reference node. The newChild is placed before this node.

Return Value

The XmlNode inserted.

See Also