RAD Studio VCL Reference
TStringList.Destroy Destructor

Destroys an instance of TStringList.

destructor Destroy; override;
virtual __fastcall ~TStringList();

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TStringList reference is not nil and only then calls Destroy. 

Destroy frees the memory allocated to hold the list of strings and object references before calling the inherited destructor. 


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