NodeList Class

NodeList class

The NodeList provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.

public abstract class NodeList : DOMObject, IEnumerable<Node>

Properties

NameDescription
abstract Item { get; }Method returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
abstract Length { get; }The number of nodes in the list.

Methods

NameDescription
abstract GetEnumerator()Returns an enumerator that iterates through the collection.
override GetPlatformType()This method is used to retrieve ECMAScript object Type.

See Also