Data.DBXCommon.TDBXValue.GetInt16

From RAD Studio API Documentation
Revision as of 15:46, 16 October 2011 by TestAccount (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

function GetInt16: SmallInt; overload; virtual;
function GetInt16(defaultValue: Smallint): Smallint; overload; virtual;

C++

virtual short __fastcall GetInt16(void)/* overload */;
virtual short __fastcall GetInt16(short defaultValue)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXValue

Description

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.

See Also

Personal tools
Translations