XmlDocument.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.
Clones a new node.
public:
virtual IXmlNode ^ CloneNode(bool deep) = CloneNode;
IXmlNode CloneNode(bool const& deep);
public IXmlNode CloneNode(bool deep);
function cloneNode(deep)
Public Function CloneNode (deep As Boolean) As IXmlNode
Parameters
- deep
-
Boolean
bool
A flag that indicates whether to recursively clone all nodes that are descendants of this node. If true, this method creates a clone of the complete tree below this node. If false, this method clones this node and its attributes only.
Returns
The newly created clone node.
Implements
M:Windows.Data.Xml.Dom.IXmlNode.CloneNode(System.Boolean)
M:Windows.Data.Xml.Dom.IXmlNode.CloneNode(bool)
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for