Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns the next node in the collection.
Syntax
HRESULT nextNode( IXMLDOMNode ** nextItem);
Parameters
- nextItem
- [out] Next node in the collection, or NULL if there is no next node.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The iterator initially points before the first node in the list, so the first call to this method 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.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.