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);

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!