While the preferred way to insert items is to set Items.All, and set all the items at once, there are times when you may wish to insert each item one at a time. To help with the performance of this, it is desirable to prevent the ListBox from painting during these operations. This method, along with BeginUpdate, is the preferred way of doing this. BeginUpdate should be called first, and this method should be called when you want the control to start painting again.
[Visual Basic] Public Sub EndUpdate() [C#] public void EndUpdate(); [C++] public: void EndUpdate(); [JScript] public function EndUpdate();