System.Internal.VarHlpr.VariantPutElement
Delphi
procedure VariantPutElement(var V: Variant; const data: Variant; i1: integer); overload;
procedure VariantPutElement(var V: Variant; const data: Variant; i1, i2: integer); overload;
procedure VariantPutElement(var V: Variant; const data: Variant; i1, i2, i3: integer); overload;
procedure VariantPutElement(var V: Variant; const data: Variant; i1, i2, i3, i4: integer); overload;
procedure VariantPutElement(var V: Variant; const data: Variant; i1, i2, i3, i4, i5: integer); overload;
C++
extern DELPHI_PACKAGE void __fastcall VariantPutElement(System::Variant &V, const System::Variant &data, int i1)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Internal.VarHlpr.pas System.Internal.VarHlpr.hpp |
System.Internal.VarHlpr | System.Internal.VarHlpr |
Description
Sets the value of an element in a Variant array.
VariantPutElement sets the Variant value located at the specified indices in the Variant array V.
This function comes in five forms. Each form accepts a Variant array, a Variant value to assign, and a number of indices in that array, one for each dimension.