RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Provider.VarArrayFromStrings Function

Creates a Variant array that contains the strings in a TStrings object.

Pascal
function VarArrayFromStrings(Strings: TStrings): Variant;
C++
Variant VarArrayFromStrings(TStrings Strings);

Provider

Call VarArrayFromStrings to create a Variant array to represent the strings in a TStrings object. VarArrayFromStrings creates a new Variant array of WideString values, where each WideString corresponds to a string in the specified TStrings object. 

Strings is the TStrings object that supplies the strings for the Variant array. 

VarArrayFromStrings returns the new Variant array. 

 

PackageParams 

VarArrayCreate

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!