RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarRangeCheckError Function

Raises an EVariantRangeCheckError exception.

Pascal
procedure VarRangeCheckError(const ASourceType: TVarType; const ADestType: TVarType);
C++
VarRangeCheckError(const TVarType ASourceType, const TVarType ADestType);

Variants

Call VarRangeCheckError to indicate that a variant operation has failed because the result is not in the allowed range for the destination variant type. ASourceType and ADestType are the variant types of the source and destination. 

 

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