RAD Studio VCL Reference
TDBXValue.GetInt16 Method ()

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

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

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!