System.Generics.Collections.TQueue.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TQueue__1();

Properties

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

Description

Destroy queue.

This method clears the queue using Clear and destroys it.

Note: Clear does not free the items as they are dequeued. If you need to free them, use the OnNotify event, which occurs for every item dequeued and provides the dequeued item.

See Also