System.Variants.EVariantTypeCastError

De RAD Studio API Documentation
Aller à : navigation, rechercher

System.SysUtils.EVariantErrorSystem.SysUtils.ExceptionSystem.TObjectEVariantTypeCastError

Delphi

EVariantTypeCastError = class(EVariantError);

C++

class PASCALIMPLEMENTATION EVariantTypeCastError : public System::Sysutils::EVariantError

Propriétés

Type Visibilité  Source Unité  Parent
class public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

EVariantTypeCastError est la classe des exceptions pour les erreurs de transtypage de variant.

EVariantTypeCastError est déclenchée quand une opération sur un variant échoue car une valeur ne peut être transtypée dans le type de variant de destination. Pour déclencher cette exception par programme, appelez VarCastError.

Voir aussi