Data.DBXCommon.TDBXWritableValue.SetUInt16

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXWritableValue

Delphi

procedure SetUInt16(const Value: Word); virtual;

C++

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

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