TCollection.FreeItem

Destroy a non-nil item.

Declaration

Source position: objects.pp line 450

default 
  procedure FreeItem(Item: Pointer);  Virtual;

Description

FreeItem calls the destructor of Item if it is not nil.

Remark

This function is used internally by the TCollection object, and should not be called directly. !!!

Errors

None.

See also

Name Description
TCollection.AtFree Free an item at the indicates position, calling it's destructor.
TCollection.Free Free item from collection, calling it's destructor.