TCollection.Done

Clean up collection, release all memory.

Declaration

Source position: objects.pp line 437

default 
  destructor Done;  Virtual;

Description

Done frees all objects in the collection, and then releases all memory occupied by the instance.

For an example, see TCollection.ForEach .

Errors

None.

See also

Name Description
TCollection.FreeAll Release all objects from the collection.
TCollection.Init Instantiate a new collection.