RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDictionary.Destroy Destructor

Destroy dictionary.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TDictionary();

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.
 

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