Skip to content

TCollection.Done

Clean up collection, release all memory.

Declaration

Source position: objects.pp line 451

destructor TCollection.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.Init Instantiate a new collection.
TCollection.FreeAll Release all objects from the collection.