Compartilhar via


nextNode Method (IXMLDOMNodeList)

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Returns the next node in the collection.

Script Syntax

var objXMLDOMNode = oXMLDOMNodeList.nextNode();

Remarks

Script Parameters

None.

Script Return Value

IXMLDOMNode refers to the next node in the collection. Returns Null if there is no next node.

C/C++ Syntax

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 returned if nextItem is 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 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 (IXMLDOMNodeList).

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, andIXMLDOMSelection.

See Also

Other Resources