Returns a clone of this node in the given XML context.
[Visual Basic] Overloads MustOverride Public Function Clone( _ ByVal context As XmlContext _ ) As XmlNode [C#] public abstract XmlNode Clone( XmlContext context ); [C++] public: virtual XmlNode* Clone( XmlContext* context ) = 0; [JScript] public abstract function Clone( context : XmlContext ) : XmlNode;
A clone of this node.
This method performs a deep clone operation, meaning that it clones both this node and any child nodes of this node. The Parent property of the returned node is null, but otherwise the returned node is an exact copy of this node.
The identifiers of the returned node and its child nodes belong to the given context. If context is null, the context of this node is substituted.
XmlNode Class | XmlNode Members | System.Xml Namespace | XmlNode.Clone Overload List