[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Variants' (#rtl)

VarCastErrorOle

Raise a variant type cast error EVariantTypeCastError

Declaration

Source position: variants.pp line 294

procedure VarCastErrorOle(

  const ASourceType: tvartype

);

Arguments

ASourceType

  

Source variant type

Description

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

See also

EVariantTypeCastError

  

Error raised when an invalid typecast is performed

VarCastError

  

Raise a variant type cast error EVariantTypeCastError


Documentation generated on: May 14 2021