System.ConvUtils.CompatibleConversionType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CompatibleConversionType(const AType: TConvType; const AFamily: TConvFamily): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall CompatibleConversionType(const TConvType AType, const TConvFamily AFamily);

Properties

Type Visibility Source Unit Parent
function public
System.ConvUtils.pas
System.ConvUtils.hpp
System.ConvUtils System.ConvUtils

Description

Indicates whether a specified conversion type is registered with a specified conversion family.

CompatibleConversionType returns true if AType represents a member of the family specified by AFamily, false otherwise.

When a conversion type is a member of a conversion family, the Convert function can convert between that type and any other type in the family.

See Also