Data.DB.TDataSet.GetRecordSize

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

function GetRecordSize: Word; virtual;

C++

virtual System::Word __fastcall GetRecordSize();

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.

See Also