NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNode.Clone ()

Returns a clone of this node.

[Visual Basic]
Overloads Public Function Clone() As XmlNode
[C#]
public XmlNode Clone();
[C++]
public: XmlNode* Clone();
[JScript]
public function Clone() : XmlNode;

Return Value

A clone of this node.

Remarks

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 same XML context as this node.

Calling this method is the same as calling Clone with a null argument.

See Also

XmlNode Class | XmlNode Members | System.Xml Namespace | XmlNode.Clone Overload List | Clone