System.Generics.Collections.TDictionary.KeyNotify
Delphi
procedure KeyNotify(const Key: TKey; Action: TCollectionNotification); virtual;
C++
virtual void __fastcall KeyNotify(const TKey Key, TCollectionNotification Action);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
protected | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TDictionary |
Description
Déclenche un événement OnKeyNotify avec les paramètres donnés.
Appelez KeyNotify pour déclencher un événement OnKeyNotify avec les paramètres donnés.
La signification de ces paramètres est fournie dans le tableau suivant.
Paramètre | Signification |
---|---|
Key |
La clé qui est ajoutée, retirée ou extraite. |
Action |
L'action que la clé subit, de type TCollectionNotification. |