RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarTypeIsValidElementType 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 VarTypeIsValidElementType(const AVarType: TVarType): Boolean;
C++
Boolean VarTypeIsValidElementType(const TVarType AVarType);

VarTypeIsValidElementType indicates whether AVarType is the type code for a System::Variant type that can represent the elements of a System::Variant array. Unlike the VarTypeIsValidArrayType function, this function returns true for custom System::Variant types. 

 

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