CloneNode()

XmlEntity::CloneNode(bool) method

Creates a duplicate of this node. Entity nodes cannot be cloned. Calling this method on an XmlEntity object throws an exception.

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

Arguments

ParameterTypeDescription
deepbooltrue to recursively clone the subtree under the specified node; false to clone only the node itself.

Return Value

A copy of the XmlNode from which the method is called.

See Also