RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomADODataSet.GetBlobFieldData Method

Retrieves the current value of a field into a buffer.

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

Most applications do not need to call GetBlobFieldData, this method being used internally by descendants of TCustomADODataSet. GetBlobFieldData reads 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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!