RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TConvTypeInfo.Create Constructor

Creates an instance of TConvTypeInfo.

Pascal
constructor Create(const AConvFamily: TConvFamily; const ADescription: string);
C++
__fastcall TConvTypeInfo(const TConvFamily AConvFamily, const AnsiString ADescription);

Call Create to instantiate a TConvTypeInfo descendant at runtime. This descendant can then be passed to the RegisterConversionType function in order to register a new conversion type. 

Create assigns the AConvFamily parameter to the ConvFamily property and the ADescription parameter to the Description property. If AConvFamily is not the identifier of a registered conversion family, Create raises an EConversionError exception. 

 

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