System.Generics.Collections.TOrderedDictionary.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TOrderedDictionary__2();

Properties

Type Visibility Source Unit Parent
destructor public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TOrderedDictionary

Description

Destroy dictionary.

System.Generics.Collections.TOrderedDictionary.Destroy inherits from System.Generics.Collections.TDictionary.Destroy. All content below this line refers to System.Generics.Collections.TDictionary.Destroy.

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.

See Also