System.Classes.TStringStream.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TStringStream();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStringStream |
Description
Destroys an instance of TMemoryStream.
System.Classes.TStringStream.Destroy inherits from System.Classes.TMemoryStream.Destroy. All content below this line refers to System.Classes.TMemoryStream.Destroy.
Destroys an instance of TMemoryStream.
Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TMemoryStream reference is not nil, and only then calls Destroy.
Destroy a TMemoryStream object when it is no longer needed to store or write data. Destroy calls Clear to free the memory buffer before calling the inherited destructor.