Method AppendChild
- Namespace
 - SharpVectors.Dom
 
- Assembly
 - SharpVectors.Core.dll
 
AppendChild(XmlNode)
Adds the node newChild to the end of the list of children of this node.
If the newChild is already in the tree, it is first removed.
XmlNode AppendChild(XmlNode newChild)
Parameters
newChildXmlNodeThe node to add. If it is a IDocumentFragment object, the entire contents of the document fragment are moved into the child list of this node
Returns
- XmlNode
 The node added.
Exceptions
- DomException
 HIERARCHY_REQUEST_ERR: Raised if this node is of a type that does not allow children of the type of the
newChildnode, or if the node to append is one of this node's ancestors.WRONG_DOCUMENT_ERR: Raised if
newChildwas created from a different document than the one that created this node.NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.