nextNode Method (IXMLDOMNamedNodeMap) (Windows CE 5.0)
Returns the next node in the collection.
[Script]
Script Syntax
varobjXMLDOMNode=oXMLDOMNamedNodeMap.nextNode();
Script Parameters
None.
Script Return Value
IXMLDOMNode, which refers to the next node in the collection. Returns Null if there is no next node.
[C/C++]
C/C++ Syntax
HRESULT nextNode(IXMLDOMNode** nextItem);
C/C++ Parameters
- nextItem
[out, retval] Next node in the collection, or Null if there is no next node.
C/C++ Return Values
- S_OK
Value returned if successful. - S_FALSE
Value when returning Null. - E_INVALIDARG
Value returned if nextItem is Null.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.
General Remarks
The iterator initially points before the first node in the list so that the first call to nextNode returns the first node in the list.
This method returns Null when the current node is the last node or there are no items in the list. When the current node is removed from the list, subsequent calls to nextNode return Null. The iterator must be reset by calling the reset method.
This member is an extension of the World Wide Web Consortium (W3C) Document Object Model (DOM).
This method applies to the following objects and interfaces:
IXMLDOMNamedNodeMap, IXMLDOMNodeList, and IXMLDOMSelection.
See Also
Send Feedback on this topic to the authors