Description.CloneNode Method
Creates a duplicate of this node.
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Overrides Function CloneNode ( _
deep As Boolean _
) As OpenXmlElement
'使用
Dim instance As Description
Dim deep As Boolean
Dim returnValue As OpenXmlElement
returnValue = instance.CloneNode(deep)
public override 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
Returns the cloned node.