|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.|
Gets the next node that nextNode Method (IXMLDOMNamedNodeMap)will return without advancing the list position.
var objXMLDOMNode = objXMLDOMSelection.peekNode();
Script Return Value
Object. Returns the next node without advancing the list position, or Null if there are no more nodes.
HRESULT peekNode ( IXMLDOMNode** ppNode );
[out, retval] The returned node, or Null if there are no more nodes or if E_PENDING is returned.
C/C++ Return Values
Value returned if the method is successful.
Value returned if the context document is still being built and the selection object has hit the end of the available nodes to match.
|Windows Embedded CE||Windows CE .NET 4.0 and later|
Like nextNode, peekNodedoes not result in a snapshot of all matching nodes. Consecutive calls to peekNodewill produce the same node over and over, independent of changes in the underlying tree.
This method applies to the following interface: