RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLNodeList.Nodes Property

Provides access to the nodes in the list.

Pascal
property Nodes [const IndexOrName: OleVariant]: IXMLNode;
C++
__property IXMLNode Nodes[OleVariant const IndexOrName];

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. 

 

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