RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ConvUtils.CompatibleConversionType Function

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

Pascal
function CompatibleConversionType(const AType: TConvType; const AFamily: TConvFamily): Boolean;
C++
Boolean CompatibleConversionType(const TConvType AType, const TConvFamily AFamily);

ConvUtils

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!