Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMNodeList::length P...     IXMLDOMNodeList Interface    
Web Workshop  |  XML (Extensible Markup Language)

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] IXMLDOMNode 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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.