Show: Delphi C++
Display Preferences

System.Variants.VarArrayOf

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function VarArrayOf(const Values: array of Variant): Variant;

C++

extern DELPHI_PACKAGE System::Variant __fastcall VarArrayOf(System::Variant const *Values, const int Values_Size);

Contents

Properties

Type Visibility Source Unit Parent
function public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

Creates and fills a one-dimensional variant array.

VarArrayOf returns a one-dimensional variant array with the elements given by the Values parameter

Values is an array of Variant values to convert into a Variant array.

Note: Values_Size indicates the index of the last value in the Values array (one less than the number of values).

The low bound of the returned array is zero, the high bound is the number of values given by the Values parameter less one (Values_Size), and the element type is Variant.

See Also


Code Examples

Personal tools
Translations