RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNodeCollection.GetNode Method

Returns the interface for one of the repeating child nodes.

Pascal
function GetNode(Index: Integer): IXMLNode;
C++
__fastcall IXMLNode GetNode(int Index);

Use the TXMLNodeCollection object's IXMLNodeCollection interface to call the protected GetNode method. GetNode returns an interface for working with one of the repeating child nodes. 

Index identifies which repetition of the child node is desired, where 0 is the first repetition, 1 is the second repetition, and so on. Note that Index is the index of the node in the List property, not in the index in the ChildNodes property. 

 

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