Data.DBXCommon.TDBXWideStringValue.SetAsUInt16

From RAD Studio API Documentation

Delphi

procedure SetAsUInt16(const Value: Word); override;

C++

virtual void __fastcall SetAsUInt16(const System::Word Value);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon TDBXWideStringValue

Description

Sets the Word value for an unsigned 16-bit integer value type. {{#multireplace:Data.DBXCommon.TDBXWideStringValue.SetAsUInt16|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DBXCommon.TDBXWritableValue.SetAsUInt16|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.SetAsUInt16|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.

SetAsUInt16 sets a value as a Word, applying a type conversion, if needed. If there is no supported conversion to this type, an exception is raised.

See Also