System.Classes.TCollectionNotification

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

TCollectionNotification = (cnAdded, cnExtracting, cnDeleting);

C++

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

Properties

Type Visibility Source Unit Parent
enum public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

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

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.



See Also