XmlElement.ClearChildren (gb.xml)

Sub ClearChildren ( )

Removes all children from the list of children, so that the node won't have any child anymore.

Note that the removed children are destroyed only if you have no reference on them.