Icon EndUpdate Method

procedure EndUpdate

Available In: Client and Server Applications

Use this method to end a batch update to the collection. Batch updates are useful in situations where many changes need to be made to the collection, and triggering the OnChanged event on every change would result in performance issues. This method is reference-counted and every time it is called, an internal counter is decremented. Every time the BeginUpdate method is called, the counter is incremented. Once the counter reaches zero, the OnChanged event will be triggered.