Skip to content

TCollection.Destroy

Destroys the collection and frees all the objects it manages.

Declaration

Source position: classesh.inc line 551

public 
  destructor Destroy;  Override;

Description

Destroy first clears the collection, and then frees all memory allocated to this instance.

Don't call Destroy directly, call Free instead.

See also

Name Description
TCollection.Create Creates a new collection.