API:Data.DB.TShortintField.GetDataSize

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: TShortintField

Delphi

function GetDataSize: Integer; override;

C++

virtual int __fastcall GetDataSize();

Description

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

Data.DB.TShortintField.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).