RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBlobStream.Destroy Destructor

Destroys an instance of TBlobStream.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~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.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!