RAD Studio VCL Reference
TResourceStream.Destroy Destructor

Destroys an instance of TResourceStream.

destructor Destroy; override;
virtual __fastcall ~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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!