System.Generics.Collections.TDictionary.OnKeyNotify

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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

C++

__property _dt_System_Generics_Collections_10 OnKeyNotify = {read=FOnKeyNotify, write=FOnKeyNotify};

プロパティ

種類 可視性 ソース ユニット
event public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TDictionary

説明

ディクショナリのキー ペアが変わったときに発生します。

OnKeyNotify イベントは、ディクショナリに対してアイテムの追加や削除が行われたときに発生します。単一の操作で複数のイベントが発生する場合があります。このイベントにより、削除されたオブジェクトを解放できるようになります。

関連項目