TCollection.Delete

Delete an item from the collection.

Declaration

Source position: classesh.inc line 558

public 
  procedure Delete(Index: Integer);

Description

Delete deletes the item at (zero based) position Index from the collection. This will result in a cnDeleted notification.

Errors

If an invalid index is specified, an EListError exception is raised.

See also

Name Description
TCollection.Clear Removes all items from the collection.
TCollection.Insert Insert an item in the collection.
TCollection.Items Indexed array of items in the collection.

results matching ""

    No results matching ""