RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLNodeCollection.Count Property

Indicates the number of repeating child nodes.

Pascal
property Count: Integer;
C++
__property int Count;

Read Count to obtain the number of repeating children of this node. Use Count to obtain an upper limit when addressing child nodes by index (for example, when iterating over all nodes in the Nodes property list). 

Count is changed when you add child nodes using the AddChild method or delete them using the Delete or Remove method. You can access the individual repeating child nodes using the Nodes property. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!