Aspose::Words::CompositeNode::AppendChild method

CompositeNode::AppendChild method

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

template<typename T> T Aspose::Words::CompositeNode::AppendChild(T newChild)
ParameterTypeDescription
newChildTThe node to add.

ReturnValue

The node added.

Remarks

If the newChild is already in the tree, it is first removed.

If the node being inserted was created from another document, you should use ImportNode() to import the node to the current document. The imported node can then be inserted into the current document.

See Also