API:System.Generics.Collections.TObjectDictionary.KeyNotify
Delphi
procedure KeyNotify(const Key: K; Action: TCollectionNotification); override;
C++
virtual void __fastcall KeyNotify(const K 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 | TObjectDictionary |
Description
Déclenche un événement OnKeyNotify avec les paramètres donnés.
System.Generics.Collections.TObjectDictionary.KeyNotify hérite de System.Generics.Collections.TDictionary.KeyNotify. Tout le contenu en-dessous de cette ligne se réfère à System.Generics.Collections.TDictionary.KeyNotify.
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. |