Xml.XMLIntf.IXMLNodeList.GetNode
Delphi
function GetNode(const IndexOrName: OleVariant): IXMLNode;
C++
virtual _di_IXMLNode __fastcall GetNode(const System::OleVariant &IndexOrName) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Xml.XMLIntf.pas Xml.XMLIntf.hpp |
Xml.XMLIntf | IXMLNodeList |
Description
Returns a specified node from the list.
GetNode is the read implementation of the Nodes property.
IndexOrName identifies the desired node. It can be
The index of the node, where 0 is the index of the first node, 1 is the index of the second node, and so on.
The LocalName property of a node in the list.
If IndexOrName does not identify a node in the list, GetNode tries to create a new node with the name specified by IndexOrName. If it can't create the new node, GetNode raises an exception.