System::Xml::XmlComment::CloneNode method

XmlComment::CloneNode method

Creates a duplicate of this node.

SharedPtr<XmlNode> System::Xml::XmlComment::CloneNode(bool deep) override
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.

ReturnValue

The cloned node.

See Also