DBXCommon.TDBXValue.GetInt16

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

From DBXCommon.pas

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


Unit: DBXCommon

Type: method

Visibility: public

Member Of: TDBXValue

Description

Gets the smallInt value for 16-byte 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
Newest Version