RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ConvUtils.UnregisterConversionType Function

Unregisters a conversion type previously registered using RegisterConversionType.

Pascal
procedure UnregisterConversionType(const AType: TConvType);
C++
UnregisterConversionType(const TConvType AType);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!