System.Classes.TPersistent.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TPersistent();

Properties

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

Description

Destroys the TPersistent instance and frees its memory.

Do not call Destroy directly. Call Free instead. Free checks that the object reference is not nil before calling Destroy.

See Also