Datasnap.DBClient.TClientBlobStream.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: destructor
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TClientBlobStream

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TClientBlobStream();

Description

Frees an instance of TClientBlobStream.

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 TClientBlobStream object by calling Free when it is no longer needed for reading from or writing to the BLOB field. Client blob streams should be destroyed when the client dataset changes the current record

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.

See Also