System.Generics.Collections.TCollectionNotification
Delphi
TCollectionNotification = (cnAdded, cnRemoved, cnExtracted);
C++
enum DECLSPEC_DENUM TCollectionNotification : unsigned char { cnAdded, cnRemoved, cnExtracted };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | System.Generics.Collections |
Description
Type of change to collection for OnNotify event.
The following table lists the TCollectionNotification values:
Value | Meaning |
---|---|
cnAdded |
Item added to collection. |
cnRemoved |
Item removed from collection. |
cnExtracted |
Item extracted from collection, for example, removed and its value returned. |
See Also
Code Examples