RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLNodeList.BeginUpdate Method

Increments the value of UpdateCount.

Pascal
procedure BeginUpdate;
C++
__fastcall BeginUpdate();

Call BeginUpdate before making several changes to the nodes in the list (such as adding or removing several nodes). BeginUpdate increments the UpdateCount property, to keep track of the fact that the list is in the middle of an update. When the update is complete, call EndUpdate to decrement the UpdateCount property.  

Every call to BeginUpdate should be matched by a call to EndUpdate, so that the UpdateCount property accurately reflects whether an update operation is underway. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!