Share via


OpenXmlMiscNode.CloneNode(Boolean) Method

Definition

When overridden in a derived class, creates a duplicate of the node.

public override DocumentFormat.OpenXml.OpenXmlElement CloneNode (bool deep);
override this.CloneNode : bool -> DocumentFormat.OpenXml.OpenXmlElement
Public Overrides Function CloneNode (deep As Boolean) As OpenXmlElement

Parameters

deep
Boolean

true to recursively clone the subtree under the specified node; false to clone only the node itself.

Returns

The cloned node.

Applies to