Data.DBXCommon.TDBXWritableValue.SetUInt16

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetUInt16(const Value: Word); virtual;

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 TDBXWritableValue

Description

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