item Method (IXMLDOMNodeList) (Windows CE 5.0)
Allows random access to individual nodes within the collection.
[Script]
Script Syntax
var objXMLDOMNode=oXMLDOMNodeList.item(index);
Script Parameters
- index
Long integer. Index of the item within the collection. The first item is zero.
Script Return Value
Object. Returns IXMLDOMNode. Returns Null if the index is out of range.
[C/C++]
C/C++ Syntax
HRESULT item(longindex,IXMLDOMNode** listItem);
C/C++ Parameters
- index
[in] Index of the item within the collection. The first item is number zero. - listItem
[out, retval] IXMLDOMNode. 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.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.
General Remarks
This method applies to the following objects and interfaces:
IXMLDOMNode, IXMLDOMNodeList, and IXMLDOMSelection.
Send Feedback on this topic to the authors