Share via


IXMLDOMNodeList

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IXMLDOMNode