peekNode Method

Gets the next node that nextNode will return without advancing the list position.

var objXMLDOMNode = objXMLDOMSelection.peekNode();

HRESULT peekNode (
  IXMLDOMNode** ppNode
);

General Remarks

Like nextNode, peekNode does not result in a snapshot of all matching nodes. Consecutive calls to peekNode will produce the same node over and over, independent of changes in the underlying tree.

This method applies to the following interface:

IXMLDOMSelection.

See Also

nextNode Method (IXMLDOMNodeList)

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.