OpenXmlElement.Clone-Methode

Creates a duplicate of this node.

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

Syntax

'Declaration
Public Function Clone As Object
'Usage
Dim instance As OpenXmlElement
Dim returnValue As Object

returnValue = instance.Clone()
public Object Clone()

Rückgabewert

Typ: System.Object
The cloned node.

Implementiert

ICloneable.Clone()

Hinweise

Cloning an OpenXmlNode copies all attributes and their values, including those generated by the XML processor to represent defaulted attributes. This method recursively clones the node and the subtree underneath it. Clone is equivalent to calling CloneNode(true).

Siehe auch

Referenz

OpenXmlElement Klasse

OpenXmlElement-Member

DocumentFormat.OpenXml-Namespace