System.Classes.TList.Clear

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure Clear; virtual;

C++

virtual void __fastcall Clear(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TList

Description

Deletes all items from the list.

Call Clear to empty the Items array and set the Count to 0. Clear also frees the memory used to store the Items array and sets the Capacity to 0.

See Also