item Method (IXMLDOMNamedNodeMap) (Windows CE 5.0)
Allows random access to individual nodes within the collection.
[Script]
Script Syntax
var objXMLDOMNode=oXMLDOMNamedNodeMap.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 zero. - listItem
[out, retval] 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.
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, IXMLDOMNamedNodeMap, and IXMLDOMSelection.
Send Feedback on this topic to the authors