System.Generics.Collections.TDictionary.OnKeyNotify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

__property _dt_System_Generics_Collections_10 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

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