System.Classes.TOperation
Delphi
TOperation = (opInsert, opRemove);
C++
enum DECLSPEC_DENUM TOperation : unsigned char { opInsert, opRemove };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | System.Classes.pas System.Classes.hpp |
System.Classes | System.Classes |
Description
TOperation represents the types of operations whose occurrence is broadcast by the Notification method.
The TOperation type is used in the Notification method to indicate whether the notification indicates the creation or deletion of an object. The following table gives the possible values:
Value | Meaning |
---|---|
opInsert |
The specified object has just been created. |
opRemove |
The specified object has been destroyed, and its memory is about to be freed. |