System.Classes.TCollection.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TCollection();

Properties

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

Description

Destroys the collection and each item in it.

Destroy uses the Clear method to free each item referenced in the Items array, then destroys the collection itself.

See Also