Data.DB.TWordField.GetDataSize
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 | TWordField | 
Description
Returns the number of bytes required to store a Word value in a field.
Call GetDataSize to return the number of bytes required to store a Word value in a field. GetDataSize returns 2.