method Nodes.RemoveByID (Index as Variant)
Removes a member giving its unique identifier.

TypeDescription
Index as Variant A String expression that specifies the unique identifier of the node, previously returned by the ID property of the Node.
The RemoveByID method removes a node giving its unique identifier. The ID property is generated by the control, to identify uniquely a node within the Nodes collection. The ItemByID property gets the node giving its identifier.