Xml.XMLDoc.TXMLNodeCollection.GetNode

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function GetNode(Index: Integer): IXMLNode;

C++

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

Propriétés

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

Description

Renvoie l'interface d'un des noeuds enfant récurrents.

Utilisez l'interface IXMLNodeCollection de l'objet TXMLNodeCollection pour appeler la méthode GetNode protégée. GetNode renvoie une interface permettant de manipuler l'un des noeuds enfant récurrents.

Index identifie la répétition souhaitée du noeud enfant, sachant que la première répétition a l'indice 0, la deuxième l'indice 1, etc. Index est l'indice du noeud figurant dans la propriété List, non celui du noeud figurant dans la propriété ChildNodes.

Voir aussi