Compartilhar via


IXMLDOMNodeList (Windows CE 5.0)

Send Feedback

Supports iteration through the live collection, in addition to indexed access.

Methods

The following table shows the methods for IXMLDOMNodeList.

This interface inherits from IDispatch.

Method Description
item Allows random access to individual nodes within the collection.
nextNode* Returns the next node in the collection.
reset* Resets the iterator.

* denotes an extension to the World Wide Web Consortium (W3C) Document Object Model (DOM).

Properties

The following table shows the properties for IXMLDOMNodeList.

This interface inherits from IDispatch.

Property Description
length Indicates the number of items in the collection. Read-only.

Events

None.

Remarks

A NodeList collection is live; that is, the addition and removal of nodes, and changes within nodes, are immediately reflected in the collection. This means that two successive requests for items using the same index can return two different items, depending on changes to the collection. This also means that changes to the node objects are immediately available in the nodes obtained from the list. The collection can also be accessed using the "for...next" construct.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

See Also

IXMLDOMNode

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.