Xml.XMLDoc.TXMLNodeCollection.GetNode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetNode(Index: Integer): IXMLNode;

C++

Xml::Xmlintf::_di_IXMLNode __fastcall GetNode(int Index);

Properties

Type Visibility Source Unit Parent
function protected
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLNodeCollection

Description

Returns the interface for one of the repeating child nodes.

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.

See Also