Datasnap.DBClient.TCustomClientDataSet.AllocRecordBuffer
Delphi
function AllocRecordBuffer: TRecordBuffer; override;
C++
virtual System::PByte __fastcall AllocRecordBuffer(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | TCustomClientDataSet |
Description
Allocates memory for the record buffer. {{#multireplace:Datasnap.DBClient.TCustomClientDataSet.AllocRecordBuffer|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TDataSet.AllocRecordBuffer|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TDataSet.AllocRecordBuffer|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.