API:System.Classes.TReader.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TReader();

Properties

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

Description

Destroys a filer object.

System.Classes.TReader.Destroy inherits from System.Classes.TFiler.Destroy. All content below this line refers to System.Classes.TFiler.Destroy.

Destroys a filer object.

Do not call Destroy directly in an application. Instead, call Free, which checks that the filer reference is not nil before calling Destroy.

The Destroy method for filer objects~TFiler frees memory associated with the buffer. Memory deallocation for the object instance is handled automatically when Destroy is called. TFiler's Destroy method is called by descendant objects in their respective destructors.

See Also