Data.DB.TObjectField.SetVarValue
Delphi
procedure SetVarValue(const Value: Variant); override;
C++
virtual void __fastcall SetVarValue(const System::Variant &Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.DB.pas Data.DB.hpp |
Data.DB | TObjectField |
Description
Sets the value of the owned fields with the elements of the given variant array.
SetVarValue sets the value of the owned fields with the elements of Value
. Value
is a variant containing an array of values.
On the assumption that the number of elements from the Value
variant array is not greater than the number of owned fields (otherwise, the excess elements are ignored), the SetVarValue method sets the owned fields with the corresponding elements from the Value
array.