Remove

This method removes the item specified by its name from the collection and releases its reference count.

Syntax

If there are no other references to the item, this may cause the item to be freed from memory.

The collection triggers the OnChange event.

Remove (ItemName As String)
Parameter Description

ItemName

Name of the item to remove.