Dela via


IXmlNode.CloneNode(Boolean) Method

Definition

Clones a new node.

public:
 IXmlNode ^ CloneNode(bool deep);
IXmlNode CloneNode(bool const& deep);
public IXmlNode CloneNode(bool deep);
function cloneNode(deep)
Public Function CloneNode (deep As Boolean) As IXmlNode

Parameters

deep
Boolean

bool

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.

Applies to