OpenXmlElement.CloneNode(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, creates a duplicate of the node.
public virtual DocumentFormat.OpenXml.OpenXmlElement CloneNode (bool deep);
abstract member CloneNode : bool -> DocumentFormat.OpenXml.OpenXmlElement
override this.CloneNode : bool -> DocumentFormat.OpenXml.OpenXmlElement
Public Overridable 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.