Bde.DBTables.TBlobStream.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TBlobStream();

Properties

Type Visibility Source Unit Parent
destructor public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TBlobStream

Description

Destroys an instance of TBlobStream.

Do not call Destroy directly in an application. Instead call Free. Free verifies that the TBlobStream object is not nil and only then calls Destroy. Destroy the TBlobStream object when it is no longer needed for reading from or writing to the BLOB field.

Destroy triggers an OnDataChange event if the BLOB stream was used to overwrite or modify the data in the field. Destroy then frees any buffers that were allocated to handle the data.

Note: A TBlobStream object should always be destroyed before navigating to a new record. Create a new instance of TBlobStream for the new record.

See Also