Data.DBXDelegate.TDBXDelegateWritableValue.GetInt16
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.DBXDelegate.pas Data.DBXDelegate.hpp
| |
Unit: Data.DBXDelegate | |
Parent: TDBXDelegateWritableValue |
Delphi
function GetInt16: SmallInt; overload; override;
function GetInt16(defaultValue: SmallInt): SmallInt; overload; override;
C++
virtual short __fastcall GetInt16()/* overload */;
virtual short __fastcall GetInt16(short defaultValue)/* overload */;
Description
Gets the smallInt value for 16-bit integer data types.
Data.DBXDelegate.TDBXDelegateWritableValue.GetInt16 inherits from Data.DBXCommon.TDBXValue.GetInt16. All content below this line refers to Data.DBXCommon.TDBXValue.GetInt16.
Gets the smallInt value for 16-bit integer data types.
Gets the smallInt value for TDBXValue instances with a data type of Int16Type.
This method throws a TDBXError exception if TDBXValue.IsNull is true and defaultValue is not specified. This method gets the defaultValue if it is specified and the TDBXValue is null.