RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.TCollectionNotification Enumeration

TCollectionNotification indicates the type of change that is made to the items in a collection.

Pascal
TCollectionNotification = (
  cnAdded,
  cnExtracting,
  cnDeleting
);
C++
enum TCollectionNotification {
  cnAdded,
  cnExtracting,
  cnDeleting
};

Classes

The following table lists the values for TCollectionNotification:

Value 
Meaning 
cnAdded  
An item was just added to the collection.  
cnExtracting  
An item is about to be removed from the collection (but not freed).  
cnDeleting  
An item is about to be removed from the collection and then freed.  

 

TCollection

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