System.Variants.VarRangeCheckError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure VarRangeCheckError(const ASourceType, ADestType: TVarType);

C++

extern DELPHI_PACKAGE void __fastcall VarRangeCheckError(const System::Word ASourceType, const System::Word ADestType);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Variants.pas
System.Variants.hpp
System.Variants System.Variants

Description

Raises an EVariantRangeCheckError exception.

Call VarRangeCheckError to indicate that a variant operation has failed because the result is not in the allowed range for the destination variant type. ASourceType and ADestType are the variant types of the source and destination.

See Also