System.ConvUtils.UnregisterConversionType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UnregisterConversionType(const AType: TConvType);

C++

extern DELPHI_PACKAGE void __fastcall UnregisterConversionType(const TConvType AType);

Properties

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

Description

Unregisters a conversion type previously registered using RegisterConversionType.

Call UnregisterConversionType when a conversion type becomes unavailable. Typically, this function is called from the finalization section of a unit that implements the conversion type.

AType is the conversion type identifier for the type to unregister.

After a conversion type is unregistered, it is no longer listed by the GetConvTypes procedure. Calling the Convert function with an unregistered conversion type results in an EConversionError exception.

See Also