RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDictionary.KeyNotify Method

Triggers an OnKeyNotify event with the given parameters.

Pascal
procedure KeyNotify(const Key: TKey; Action: TCollectionNotification); virtual;
C++
virtual __fastcall KeyNotify(const TKey Key, TCollectionNotification Action);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!