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

Creates a duplicate of this node.

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

Return Value

The duplicate node.

Remarks

Cloning an XmlElement copies all attributes and their values, including those generated by the XML processor to represent defaulted attributes. This method recursively clones the node and the subtree underneath it.

See Also

XmlNode Class | XmlNode Members | System.NewXml Namespace