RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EVariantTypeCastError Class

EVariantTypeCastError is the exception class for variant type cast errors.

Pascal
EVariantTypeCastError = class(EVariantError);
C++
class EVariantTypeCastError : public EVariantError;

Variants

EVariantTypeCastError is raised when a variant operation fails because a value could not be cast to the destination variant type. To raise this exception programmatically, call VarCastError

 

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