System.Classes.TCollection.Deleting

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Deleting(Item: TCollectionItem); virtual; deprecated;

C++

virtual void __fastcall Deleting _DEPRECATED_ATTRIBUTE0 (TCollectionItem* Item);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Classes.pas
System.Classes.hpp
System.Classes TCollection

Description

Warning: Deleting is deprecated.

Responds when items are deleted from the collection.

Applications cannot call the protected Deleting method. The Delete method calls Deleting immediately before it removes an item from the collection.

Item is the item that is about to be removed.

Deleting is a deprecated method. Descendent classes should override the Notify method instead when responding to changes in the list of items.

See Also