Data.DBXCommon.TDBXUInt16Value.SetUInt16
Delphi
procedure SetUInt16(const Value: Word); override;
C++
virtual void __fastcall SetUInt16(const System::Word Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXUInt16Value |
Description
Sets the Word value for an unsigned 16-bit integer value type.
Data.DBXCommon.TDBXUInt16Value.SetUInt16 inherits from Data.DBXCommon.TDBXWritableValue.SetUInt16. All content below this line refers to Data.DBXCommon.TDBXWritableValue.SetUInt16.
Sets the Word value for an unsigned 16-bit integer value type.
SetUInt16 sets the Word value for TDBXValue descendants that store a Word. For TDBXValue descendants that do not store a Word, an exception will be raised. It is recommended that AsUInt16 be used to take advantage of the built-in type coercion of the As methods.