Icon BeginUpdate Method

procedure BeginUpdate

Available In: Client and Server Applications

Use this method to begin 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 incremented. Every time the EndUpdate method is called, the counter is decremented. Once the counter reaches zero, the OnChanged event will be triggered.