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

System.Xml.XmlNode.RemoveAll Method

Removes all of the children of the node.

public virtual void RemoveAll ()

Remarks

All of the children of the node, including attributes, are detached from the document.

Requirements

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