RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarTypeIsValidArrayType Function

Indicates whether a System::Variant type code represents a type that can be used for the elements in a System::Variant array.

Pascal
function VarTypeIsValidArrayType(const AVarType: TVarType): Boolean;
C++
Boolean VarTypeIsValidArrayType(const TVarType AVarType);

VarTypeIsValidArrayType indicates whether AVarType is the type code for a System::Variant type that can represent the elements of a System::Variant array. This function is only intended for use with built-in System::Variant types. It returns false for custom System::Variant types, although they can be used for the elements of System::Variant arrays. 

 

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