Datasnap.DBClient.TCustomClientDataSet.AllocRecordBuffer

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AllocRecordBuffer: TRecordBuffer; override;

C++

virtual System::PByte __fastcall AllocRecordBuffer();

Properties

Type Visibility Source Unit Parent
function protected
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

Description

Allocates memory for the record buffer.

Datasnap.DBClient.TCustomClientDataSet.AllocRecordBuffer inherits from Data.DB.TDataSet.AllocRecordBuffer. All content below this line refers to Data.DB.TDataSet.AllocRecordBuffer.

Allocates memory for the record buffer.

AllocRecordBuffer is used internally by derived class methods to allocate memory for the record buffer. The method returns a TRecordBuffer.

Note: Unidirectional datasets do not buffer records.

Note: This method is virtual and returns nil for Delphi and NULL for C++. The derived classes will implement a specific allocation of memory.


See Also