Clear

This method removes all items from the collection and releases their reference count.

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

The internal collection trigger the OnChange event.

Syntax

Clear ()