RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.UnRegisterClasses Function

Unregisters a set of classes.

Pascal
procedure UnRegisterClasses(AClasses: array of TPersistentClass);
C++
UnRegisterClasses(array of TPersistentClass AClasses);

Classes

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!