Data.DBXCommon.TDBXValue.GetAsInt16
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: protected | |
| Source: Data.DBXCommon.pas Data.DBXCommon.hpp
| |
| Unit: Data.DBXCommon | |
| Parent: TDBXValue | |
Delphi
function GetAsInt16: SmallInt; virtual;
C++
virtual short __fastcall GetAsInt16();
Description
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.