Mono Class Library: System.Xml.XmlNode Overview | Members

System.Xml.XmlNode.CloneNode Method

Creates a clone of the node. [Edit]

public abstract XmlNode CloneNode (bool deep)

Parameters

deep
True to create a deep clone, or false to create a shallow clone. [Edit]

Returns

A clone of the node. [Edit]

Remarks

If deep is true, all descendents of the new node are copies of their counterpart descendents in the original node. Otherwise, the children of the cloned node are the same objects as the children of the original. [Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0