System.Generics.Collections.TDictionary.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TDictionary__2();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TDictionary |
Description
Destroy dictionary.
This method destroys an instance of a dictionary using Clear.
Note: Clear does not free the items as they are removed. If you need to free them, use the OnKeyNotify and OnValueNotify events, which occur for every entry removed and provide the removed items.