Data.DBXCommon.TDBXInt8Value.SetAsInt16
| [–] Properties | |
|---|---|
| Type:  procedure function 
 | |
| Visibility: public | |
| Source:  Data.DBXCommon.pas Data.DBXCommon.hpp 
 | |
| Unit: Data.DBXCommon | |
| Parent: TDBXInt8Value | |
Delphi
procedure SetAsInt16(const Value: SmallInt); override;
C++
virtual void __fastcall SetAsInt16(const short Value);
Description
Sets the value as a SmallInt representation.
Data.DBXCommon.TDBXInt8Value.SetAsInt16 inherits from Data.DBXCommon.TDBXWritableValue.SetAsInt16. All content below this line refers to Data.DBXCommon.TDBXWritableValue.SetAsInt16.
Sets the value as a SmallInt representation.
SetAsInt16 sets the value as a SmallInt representation. It applies a type conversion, if needed. If there is no supported conversion to this type, an exception is raised.