CloneNode()

XmlDeclaration::CloneNode(bool) method

Creates a duplicate of this node.

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

Arguments

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

Return Value

The cloned node.

See Also