API:Data.DB.TSmallintField.GetDataSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDataSize: Integer; override;

C++

virtual int __fastcall GetDataSize();

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TSmallintField

Description

Returns the number of bytes necessary to store the field value.

Data.DB.TSmallintField.GetDataSize inherits from Data.DB.TIntegerField.GetDataSize. All content below this line refers to Data.DB.TIntegerField.GetDataSize.

Returns the number of bytes necessary to store the field value.

GetDataSize returns the size of a 32-bit integer (4 bytes).