CloneNode()

XmlComment::CloneNode(bool) method

Creates a duplicate of this node.

SharedPtr<XmlNode> System::Xml::XmlComment::CloneNode(bool deep) override

Arguments

ParameterTypeDescription
deepbooltrue to recursively clone the subtree under the specified node; false to clone only the node itself. Because comment nodes do not have children, the cloned node always includes the text content, regardless of the parameter setting.

Return Value

The cloned node.

See Also