Unit 'Variants' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

VarCastErrorOle

Raise a variant type cast error EVariantTypeCastError.

Declaration

Source position: variants.pp line 301

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: Dec 26 2024