Data.DB.TDataSet.GetRecordSize
Delphi
function GetRecordSize: Word; virtual;
C++
virtual System::Word __fastcall GetRecordSize(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Returns the size of a record in the dataset.
GetRecordSize returns the size of a record in the dataset. In TDataSet, the value of RecordSize is always 0, because TDataSet does not implement record buffering. Descendant classes that buffer records override the GetRecordSize method to return the number of bytes in a record buffer.