Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Returns the next node in the collection.
Script Syntax
Copy Code | |
---|---|
var objXMLDOMNode = oXMLDOMNamedNodeMap.nextNode(); |
Remarks
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++ Syntax
Copy Code | |
---|---|
HRESULT nextNode( IXMLDOMNode** nextItem ); |
Remarks
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 nextItemis Null.
Requirements
Header | msxml2.h, msxml2.idl |
Library | uuid.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
General Remarks
The iterator initially points before the first node in the list so that the first call to nextNodereturns 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 nextNodereturn Null. The iterator must be reset by calling the reset Method (IXMLDOMNamedNodeMap).
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: