RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ConvUtils.UnregisterConversionFamily Function

Unregisters a conversion family previously registered using RegisterConversionFamily.

Pascal
procedure UnregisterConversionFamily(const AFamily: TConvFamily);
C++
UnregisterConversionFamily(const TConvFamily AFamily);

ConvUtils

Call UnregisterConversionFamily when a conversion family becomes unavailable. Typically, this function is called from the finalization section of a unit that implements the conversion family. UnregisterConversionFamily unregisters all of the conversion types registered with the family and then unregisters the family itself.  

AFamily is the conversion family identifier for the family to unregister. 

After a conversion family is unregistered, it is no longer listed by the GetConvFamilies procedure. Calling the Convert function with conversion types from an unregistered family results in an EConversionError exception. 

 

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