System.Classes.TStringList.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TStringList();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStringList |
Description
Destroys an instance of 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.