Clear
This method removes all items from the collection and releases their reference count.
If there are no further references to the collection items, this can result in all elements being released from memory.
The collection triggers the OnChange event.
Syntax
Clear ()