Open main menu

RAD Studio API Documentation β

System.Generics.Collections.TDictionary.OnKeyNotify

Delphi

property OnKeyNotify: TCollectionNotifyEvent<TKey> read FOnKeyNotify write FOnKeyNotify;

C++

__property _dt_System_Generics_Collections_9 OnKeyNotify = {read=FOnKeyNotify, write=FOnKeyNotify};

Properties

Type Visibility Source Unit Parent
event public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TDictionary

Contents

Description

Occurs when a dictionary key pair changes.

The OnKeyNotify event occurs when items are added or removed from the dictionary. Multiple events may occur for a single operation. This allows removed objects to be freed.

See Also


Code Examples