System.Classes.TCollection.Clear
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.