RAD Studio VCL Reference
Classes.RegisterClassAlias Function

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

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

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!