IXMLDOMNodeList::item Method
Allows random access to individual nodes within the collection.
Visual Basic Syntax
Set objXMLDOMNode = oXMLDOMNodeList.item(index)
C/C++ Syntax
HRESULT item(
long index,
IXMLDOMNode **listItem);
Parameters
- index [in]
- Index of the item within the collection. The first item is number zero.
- listItem [out]
- XMLDOMNode object. Returns Null if the index is out of range.
C/C++ Return Values
- S_OK
- Value returned if successful.
- E_INVALIDARG
- Value returned if listItem is Null.
See Also
IXMLDOMNodeList Interface