System.Generics.Collections.TDictionary.OnValueNotify

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

Delphi

property OnValueNotify: TCollectionNotifyEvent<TValue> read FOnValueNotify write FOnValueNotify;

C++

__property _dt_System_Generics_Collections_11 OnValueNotify = {read=FOnValueNotify, write=FOnValueNotify};

プロパティ

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

説明

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

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

関連項目