System.Internal.VarHlpr.VariantGetElement

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function  VariantGetElement(const V: Variant; i1: integer): Variant; overload;
function  VariantGetElement(const V: Variant; i1, i2: integer): Variant; overload;
function  VariantGetElement(const V: Variant; i1, i2, i3: integer): Variant; overload;
function  VariantGetElement(const V: Variant; i1, i2, i3, i4: integer): Variant; overload;
function  VariantGetElement(const V: Variant; i1, i2, i3, i4, i5: integer): Variant; overload;

C++

extern DELPHI_PACKAGE System::Variant __fastcall VariantGetElement(const System::Variant &V, int i1)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Internal.VarHlpr.pas
System.Internal.VarHlpr.hpp
System.Internal.VarHlpr System.Internal.VarHlpr

Description

Returns an element from a Variant array.

VariantGetElement returns 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 and a number of indices in that array, one for each dimension.

See Also