RAD Studio VCL Reference
Classes.UnRegisterClasses Function

Unregisters a set of classes.

procedure UnRegisterClasses(AClasses: array of TPersistentClass);
UnRegisterClasses(array of TPersistentClass AClasses);

Call UnRegisterClasses to unregister several persistent object classes in a single line. When a class is unregistered, it can't be loaded or saved by the component streaming system. 

The AClasses parameter specifies the classes (descendants of TPersistent) to unregister.

Note: In C++, the AClasses_Size parameter indicates the index of the last class in the AClasses array (one less than the number of classes).
After unregistering a class, its name can be reused to register another object class. 


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