Data.DBXDelegate.TDBXDelegateWritableValue.GetAsInt16

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsInt16: SmallInt; override;

C++

virtual short __fastcall GetAsInt16();

Properties

Type Visibility Source Unit Parent
function protected
Data.DBXDelegate.pas
Data.DBXDelegate.hpp
Data.DBXDelegate TDBXDelegateWritableValue

Description

Get smallInt representation of value.

Data.DBXDelegate.TDBXDelegateWritableValue.GetAsInt16 inherits from Data.DBXCommon.TDBXValue.GetAsInt16. All content below this line refers to Data.DBXCommon.TDBXValue.GetAsInt16.

Get smallInt representation of value.

GetAsInt16 returns a smallInt representation of the value. It applies a type conversion if needed. If there is no supported conversion to this type, an exception is raised.

See Also