IXmlNode.CloneNode(Boolean) IXmlNode.CloneNode(Boolean) IXmlNode.CloneNode(Boolean) IXmlNode.CloneNode(Boolean) IXmlNode.CloneNode(Boolean) Method

Definition

Clones a new node.

public : IXmlNode CloneNode(bool deep)
IXmlNode CloneNode(bool deep) const;
public IXmlNode CloneNode(Boolean deep)
Public Function CloneNode(deep As Boolean) As IXmlNode
var iXmlNode = iXmlNode.cloneNode(deep);

Parameters

deep
Boolean Boolean Boolean

A flag that indicates whether to recursively clone all nodes that are descendants of this node. If true, this method creates a clone of the complete tree below this node. If false, this method clones this node and its attributes only.

Returns

The newly created clone node.