API:Bde.DBTables.TBDEDataSet.GetBlobFieldData

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TBDEDataSet

Delphi

function GetBlobFieldData(FieldNo: Integer; var Buffer: TBlobByteData): Integer; override;

C++

virtual int __fastcall GetBlobFieldData(int FieldNo, Data::Db::TBlobByteData &Buffer);

Description

Reads BLOB data into a buffer.

Bde.DBTables.TBDEDataSet.GetBlobFieldData inherits from Data.DB.TDataSet.GetBlobFieldData. All content below this line refers to Data.DB.TDataSet.GetBlobFieldData.

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.

See Also