Share via


XmlDocument.AppendChild(IXmlNode) Method

Definition

Appends a new child node as the last child of the node.

public:
 virtual IXmlNode ^ AppendChild(IXmlNode ^ newChild) = AppendChild;
IXmlNode AppendChild(IXmlNode const& newChild);
public IXmlNode AppendChild(IXmlNode newChild);
function appendChild(newChild)
Public Function AppendChild (newChild As IXmlNode) As IXmlNode

Parameters

newChild
IXmlNode

The new child node to be appended to the end of the list of children of this node.

Returns

The new child node successfully appended to the list. If null, no object is created.

Implements

Applies to