Data.DBXCommon.TDBXBooleanValue.GetAsInt16

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function GetAsInt16: SmallInt; override;

C++

virtual short __fastcall GetAsInt16();

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXBooleanValue

Beschreibung

Ermittelt die smallInt-Repräsentation des Wertes.

Data.DBXCommon.TDBXBooleanValue.GetAsInt16 erbt von Data.DBXCommon.TDBXValue.GetAsInt16. Der folgende Inhalt bezieht sich auf Data.DBXCommon.TDBXValue.GetAsInt16.

Ermittelt die smallInt-Repräsentation des Wertes.

GetAsInt16 gibt eine smallInt-Repräsentation des Wertes zurück. Die Methode führt bei Bedarf eine Typumwandlung durch. Wenn es für diesen Typ keine unterstützte Umwandlung gibt, wird eine Exception ausgelöst.

Siehe auch