System.Classes.TStringStream.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TStringStream(void);

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.

See Also