System.Generics.Collections.TObjectDictionary.KeyNotify
Delphi
procedure KeyNotify(const Key: K; Action: TCollectionNotification); override;
C++
virtual void __fastcall KeyNotify(const K Key, TCollectionNotification Action);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TObjectDictionary |
Description
Triggers an OnKeyNotify event with the given parameters.
Call KeyNotify to trigger an OnKeyNotify event with the given parameters.
The meaning of the parameters is given in the following table.
Parameter | Meaning |
---|---|
Key |
The key that is added, removed or extracted. |
Action |
The action that the key undergoes, which is of type TCollectionNotification. |