Export (0) Print
Expand All

OpenXmlElement.CloneNode method

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

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public virtual OpenXmlElement CloneNode(
	bool deep
)

Parameters

deep
Type: System.Boolean

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

Return value

Type: DocumentFormat.OpenXml.OpenXmlElement
The cloned node.

Community Additions

ADD
Show:
© 2014 Microsoft