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;

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