API:Data.DBXCommon.TDBXAnsiStringValue.GetAsInt16

Aus RAD Studio API Documentation

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 TDBXAnsiStringValue

Beschreibung

Ermittelt die smallInt-Repräsentation des Wertes. {{#multireplace:Data.DBXCommon.TDBXAnsiStringValue.GetAsInt16|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} erbt von {{#multireplace:Data.DBXCommon.TDBXValue.GetAsInt16|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Der folgende Inhalt bezieht sich auf {{#multireplace:Data.DBXCommon.TDBXValue.GetAsInt16|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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