Share via


XmlDocumentFragment.CloneNode(Boolean) Method

Definition

Clones a new node.

public:
 virtual IXmlNode ^ CloneNode(bool deep) = CloneNode;
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.

Implements

M:Windows.Data.Xml.Dom.IXmlNode.CloneNode(System.Boolean) M:Windows.Data.Xml.Dom.IXmlNode.CloneNode(bool)

Applies to