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