Important: |
---|
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. |
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 |
---|---|
Allows random access to individual nodes within the collection. |
|
Returns the next node in the collection. |
|
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 |
---|---|
Indicates the number of items in the collection. Read-only. |
Events
None.
Remarks
A NodeListcollection 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 |