System.Classes.TResourceStream.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TResourceStream();

Properties

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

Description

Destroys an instance of TResourceStream.

Do not call Destroy directly in an application to destroy an instance of TResourceStream. Instead, call Free. Free verifies that the TResourceStream reference is not nil, and only then calls Destroy.

Destroy frees the memory buffer that stores the resource before calling the inherited destructor.

See Also