VarCastErrorOle

Raise a variant type cast error EVariantTypeCastError

Declaration

Source position: variants.pp line 294

  procedure VarCastErrorOle(const ASourceType: tvartype);

Description

VarCastError raises an EVariantTypeCastError exception. a description of the source type (aSourceType) is included in the error message.

See also

Name Description
EVariantTypeCastError Error raised when an invalid typecast is performed
VarCastError Raise a variant type cast error EVariantTypeCastError