System.Generics.Collections.TCollectionNotification
Delphi
TCollectionNotification = (cnAdding, cnAdded, cnExtracting, cnExtracted, cnDeleting, cnRemoved);
C++
enum DECLSPEC_DENUM TCollectionNotification : unsigned char { cnAdding, cnAdded, cnExtracting, cnExtracted, cnDeleting, cnRemoved };
Propriétés
| Type | Visibilité | Source | Unité | Parent | 
|---|---|---|---|---|
| enum | public | System.Generics.Collections.pas System.Generics.Collections.hpp  | 
        System.Generics.Collections | System.Generics.Collections | 
Description
Type du changement apporté à la collection pour l'événement OnNotify.
Le tableau suivant liste les valeurs de TCollectionNotification.
| Value | Signification | 
|---|---|
| 
 cnAdded  | 
 Elément ajouté à la collection.  | 
| 
 cnRemoved  | 
 Elément retiré de la collection.  | 
| 
 cnExtracted  | 
 Elément extrait de la collection, c'est-à-dire retiré et sa valeur renvoyée.  |