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 required to store a Smallint value in a field.

Call GetDataSize to return the number of bytes required to store a Smallint value in a field. GetDataSize returns 2.

See Also