System.Classes.TCollection.Clear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Clear;

C++

void __fastcall Clear();

Properties

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

Description

Deletes all items from the collection.

Clear empties the Items array and destroys each TCollectionItem.

See Also