Data.Win.ADODB.TCustomADODataSet.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.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TCustomADODataSet

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.

See Also