Skip to content

TList.Destroy

Destroys the list and releases the memory used to store the list elements.

Declaration

Source position: classesh.inc line 320

public 
  destructor Destroy;  Override;

Description

Destroy destroys the list and releases the memory used to store the list elements. The elements themselves are in no way touched, i.e. any memory they point to must be explicitly released before calling the destructor.