Data.DBXCommon.TDBXInt64Value.GetAsInt16
Delphi
function GetAsInt16: SmallInt; override;
C++
virtual short __fastcall GetAsInt16(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXInt64Value |
Description
Get smallInt representation of value. {{#multireplace:Data.DBXCommon.TDBXInt64Value.GetAsInt16|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DBXCommon.TDBXValue.GetAsInt16|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DBXCommon.TDBXValue.GetAsInt16|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Get smallInt representation of value.
GetAsInt16 returns a smallInt representation of the value. It applies a type conversion if needed. If there is no supported conversion to this type, an exception is raised.