RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarArrayOf Function

Creates and fills a one-dimensional variant array.

Pascal
function VarArrayOf(const Values: array of Variant): Variant;
C++
Variant VarArrayOf(const array of Variant Values);

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

Values is an array of System::Variant values to convert into a System::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 System::Variant

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!