RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNodeList.EndUpdate Method

Decrements the value of UpdateCount.

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

Call EndUpdate after making several changes to the nodes in the list (such as adding or removing several nodes). EndUpdate decrements the UpdateCount property, which was incremented by a previous call to BeginUpdate

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!