RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.RegisterClassAlias Function

Registers a class that is identical to another class except for the name.

Pascal
procedure RegisterClassAlias(AClass: TPersistentClass; const Alias: string);
C++
RegisterClassAlias(TPersistentClass AClass, const AnsiString Alias);

Classes

Component writers call RegisterClassAlias to register custom classes that are identical to another persistent class except for the name. Registering a class allows it to be loaded and saved by the component streaming system. 

The AClass parameter identifies the previously registered persistent class to which the new class is identical. The Alias parameter specifies the class name of the new class. 

 

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