[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TCollection.EndUpdate

Ends an update batch.

## Declaration

`public procedure TCollection.EndUpdate;`

## Description

EndUpdate signals the end of a series of operations that change the state of the collection, possibly triggering an update event. It does this by decreasing the update count with 1 and calling TCollection.Changed it should always be used in conjunction with TCollection.BeginUpdate, preferably in the Finally section of a Try ... Finally block.

## See also

TCollection.BeginUpdate |  | Start an update batch.
TCollection.Changed |  | Procedure called if an item is added to or removed from the collection.
TCollection.Update |  | Hander called when an item in the collection has changed.