RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSQLDataSet.GetBlobFieldData Method

Retrieves the current value of a BLOB field into a buffer.

Pascal
function GetBlobFieldData(FieldNo: Integer; var Buffer: TBlobByteData): Integer; override;
C++
virtual __fastcall int GetBlobFieldData(int FieldNo, TBlobByteData Buffer);

This method is used internally to read BLOB data from the field specified by FieldNo into a Buffer. The buffer is a dynamic array of bytes, so that it can grow to accommodate the size of the BLOB data. GetBlobFieldData returns the size of the buffer. 

GetBlobFieldData is intended primarily for internal use. Applications should use the BLOB stream returned by the CreateBlobStream method to access BLOB data. 

 

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