Partager via


nextNode Method (IXMLDOMNamedNodeMap) (Windows Embedded CE 6.0)

1/6/2010

Returns the next node in the collection.

Script Syntax

var objXMLDOMNode = oXMLDOMNamedNodeMap.nextNode();

Remarks

Ee503086.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee503086.collapse(en-US,WinEmbedded.60).gifScript Return Value

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

Ee503086.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT nextNode(
  IXMLDOMNode** nextItem
);

Remarks

Ee503086.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

  • nextItem
    [out, retval] Next node in the collection, or Null if there is no next node.

Ee503086.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value when returning Null.
  • E_INVALIDARG
    Value returned if nextItem is Null.

Ee503086.collapse(en-US,WinEmbedded.60).gifRequirements

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 (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:

IXMLDOMNamedNodeMap, IXMLDOMNodeList, and IXMLDOMSelection.

See Also

Reference

XML DOM Methods

Other Resources