Creates a duplicate of this node. Entity nodes cannot be cloned. Calling this method on an System.Xml.XmlEntity object throws an exception.
Syntax
Parameters
- deep
-
true to recursively clone the subtree under the specified node; false to clone only the node itself.
Returns
Returns a copy of the System.Xml.XmlNode from which the method is called.
Remarks
Requirements
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0