System.Variants.EVariantTypeCastError

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

System.SysUtils.EVariantErrorSystem.SysUtils.ExceptionSystem.TObjectEVariantTypeCastError

Delphi

EVariantTypeCastError = class(EVariantError);

C++

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

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
class public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Beschreibung

EVariantTypeCastError ist die Exception-Klasse für Fehler, die bei der Typumwandlung von Varianten entstehen.

EVariantTypeCastError wird ausgelöst, wenn eine Operation mit einer Variante fehlschlägt, weil die Umwandlung eines Wertes in den gewünschten Zieltyp nicht möglich war. Mit VarCastError kann diese Exception programmgesteuert ausgelöst werden.

Siehe auch