Data.Win.ADODB.TCustomADODataSet.GetBlobFieldData
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Data.Win.ADODB.pas Data.Win.ADODB.hpp
| |
| Unit: Data.Win.ADODB | |
| Parent: TCustomADODataSet | |
Delphi
function GetBlobFieldData(FieldNo: Integer; var Buffer: TBlobByteData): Integer; override;
C++
virtual int __fastcall GetBlobFieldData(int FieldNo, Data::Db::TBlobByteData &Buffer);
Description
Retrieves the current value of a field into a 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.