System.Generics.Collections.TCollectionNotification

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TCollectionNotification = (cnAdding, cnAdded, cnExtracting, cnExtracted, cnDeleting, cnRemoved);

C++

enum DECLSPEC_DENUM TCollectionNotification : unsigned char { cnAdding, cnAdded, cnExtracting, cnExtracted, cnDeleting, cnRemoved };

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