Skip to content

TList.Clear

Clears the pointer list.

Declaration

Source position: classesh.inc line 615

public 
procedure TList.Clear;  virtual;

Description

Clear removes all pointers from the list, and sets the capacity to 0, thus freeing any memory allocated to maintain the list.

See also

Name Description
Destroy Destroys the list and releases the memory used to store the list elements.