Creates a duplicate of the node.
[Visual Basic]Overrides Public Function Clone( _
ByVal
isCloneChildren As
Boolean _
) As
Node [C#]public override
Node Clone(
bool isCloneChildren);
Parameters
- isCloneChildren
- True to recursively clone the subtree under the specified node; false to clone only the node itself.
Return Value
The cloned node.
Remarks
This method serves as a copy constructor for nodes. The cloned node has no parent, but belongs to the same document as the original node.
This method always performs a deep copy of the node. The isCloneChildren parameter specifies whether to perform copy all child nodes as well.
See Also
Cell Class | Aspose.Words.Tables Namespace