System.Classes.RegisterClassAlias

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE void __fastcall RegisterClassAlias(TPersistentClass AClass, const System::UnicodeString Alias);

Properties

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

Description

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

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.

See Also