System.Variants.EVariantTypeCastError

From RAD Studio API Documentation
Jump to: navigation, search

System.SysUtils.EVariantErrorSystem.SysUtils.ExceptionSystem.TObjectEVariantTypeCastError

Delphi

EVariantTypeCastError = class(EVariantError);

C++

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

Properties

Type Visibility Source Unit Parent
class public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

EVariantTypeCastError is the exception class for variant type cast errors.

EVariantTypeCastError is raised when a variant operation fails because a value could not be cast to the destination variant type. To raise this exception programmatically, call VarCastError.

See Also