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