Data.DBXCommon.TDBXUInt16Value.SetUInt16

From RAD Studio API Documentation

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. {{#multireplace:Data.DBXCommon.TDBXUInt16Value.SetUInt16|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DBXCommon.TDBXWritableValue.SetUInt16|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DBXCommon.TDBXWritableValue.SetUInt16|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.

See Also