Data.DB.TDataSet.GetBlobFieldData
Delphi
function GetBlobFieldData(FieldNo: Integer; var Buffer: TBlobByteData): Integer; virtual;
C++
virtual int __fastcall GetBlobFieldData(int FieldNo, System::DynamicArray<System::Byte> &Buffer);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Reads BLOB data into a buffer.
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.
GetBlobFieldData is intended primarily for internal use. Applications should use the BLOB stream returned by the CreateBlobStream method to access BLOB data.