[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TCollection.Destroy

Destroys the collection and frees all the objects it manages.

## Declaration

`public destructor TCollection.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

TCollection.Create |  | Creates a new collection.