System.Contnrs.TComponentList.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TComponentList(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | System.Contnrs.pas System.Contnrs.hpp |
System.Contnrs | TComponentList |
Description
Destroys an instance of TComponentList.
Do not call Destroy directly. Instead, call Free, which checks that the component list is not nil before calling Destroy.
Before destroying the TComponentList, Destroy calls Clear, which frees the components in the list if OwnsObjects is true.