System::Xml::XmlNode::InsertBefore method

XmlNode::InsertBefore method

Inserts the specified node immediately before the specified reference node.

virtual SharedPtr<XmlNode> System::Xml::XmlNode::InsertBefore(SharedPtr<XmlNode> newChild, SharedPtr<XmlNode> refChild)
ParameterTypeDescription
newChildSharedPtr<XmlNode>The node to insert.
refChildSharedPtr<XmlNode>The reference node. newChild is placed before this node.

ReturnValue

The node being inserted.

See Also