Xml.XMLIntf.IXMLNodeList.Nodes
Delphi
property Nodes[const IndexOrName: OleVariant]: IXMLNode read GetNode; default;
C++
__property _di_IXMLNode Nodes[const System::OleVariant IndexOrName] = {read=GetNode/*, default*/};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Xml.XMLIntf.pas Xml.XMLIntf.hpp |
Xml.XMLIntf | IXMLNodeList |
Description
Provides access to the nodes in the list.
Read Nodes to access a specified node in the list.
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 Count property provides an upper bound on the indexes you can specify.
The LocalName property of a node in the list.
If IndexOrName does not identify a node in the list, and if the document that contains this node list's parent includes doNodeAutoCreate in its Options property, then the node list tries to create a new node with the name specified by IndexOrName. If the node list can't create the new node, it raises an exception.