Raises an EVariantTypeCastError exception.
procedure VarCastError; overload; procedure VarCastError(const ASourceType: TVarType; const ADestType: TVarType); overload;
VarCastError(); VarCastError(const TVarType ASourceType, const TVarType ADestType);
Variants
Call VarCastError to indicate that a variant operation has failed due to cast error. VarCastError raises EVariantTypeCastError. If no arguments are specified, the error string is a general error message. If ASourceType and ADestType are specified, the error string incorporates the names of the specified Variant Types.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|