method Elements.Remove (ID as Variant)
Removes a specific member from the Elements collection, giving its identifier or reference.

TypeDescription
ID as Variant A Long, String or Numeric expression that specifies the identifier of the element to be removed, or a reference to the Element to be removed.
Use the Remove method to remove a specific element from the Elements collection. The RemoveElement event occurs once the element has been removed from the Elements collection. Use the RemoveSelection method to remove the selected elements. Use the Clear method to remove all elements from the surface. Removing and element removes the incoming and outgoing links as well. Use the RemoveElement event to release any extra data associated with the element. Use the Visible property to hide a specific element.