Data.SqlExpr.TCustomSQLDataSet.GetBlobFieldData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual int __fastcall GetBlobFieldData(int FieldNo, System::DynamicArray<System::Byte> &Buffer);

Properties

Type Visibility Source Unit Parent
function public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TCustomSQLDataSet

Description

Retrieves the current value of a BLOB field into a 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.

See Also