Data.DBXCommon.TDBXInt16Value.GetInt16

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXInt16Value

Delphi

function GetInt16: SmallInt; override;

C++

virtual short __fastcall GetInt16()/* overload */;
inline short __fastcall  GetInt16(short defaultValue){ return TDBXValue::GetInt16(defaultValue); }

Description

Gets the smallInt value for 16-bit integer data types.

Gets the smallInt value for TDBXValue instances with a data type of Int16Type. Throws a TDBXError exception if IsNull is true.