Creates a Variant array from a dynamic array.
procedure DynArrayToVariant(var V: Variant; const DynArray: Pointer; TypeInfo: Pointer);
DynArrayToVariant(Variant V, const void * DynArray, void * TypeInfo);
Variants
Call DynArrayToVariant to assign the contents of a dynamic array as the value of a Variant variable.
V is the Variant whose value is assigned by DynArrayToVariant.
DynArray is a dynamic array to copy.
TypeInfo points to the runtime type information that identifies the type of array elements. You can obtain this pointer using the TypeInfo function (Delphi) or the __delphirtti function (C++).
TypeInfo
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|