System.ConvUtils.UnregisterConversionFamily

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UnregisterConversionFamily(const AFamily: TConvFamily);

C++

extern DELPHI_PACKAGE void __fastcall UnregisterConversionFamily(const TConvFamily AFamily);

Properties

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

Description

Unregisters a conversion family previously registered using RegisterConversionFamily.

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.

See Also