System.Contnrs.TComponentList.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TComponentList();

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.

See Also