HTMLCollection Class

HTMLCollection class

The HTMLCollection represents a generic collection of Element.

public abstract class HTMLCollection : DOMObject, IEnumerable<Element>

Properties

NameDescription
abstract getItem Returns the index-th item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
abstract getLength The number of nodes in the list.

Methods

NameDescription
abstract GetEnumerator()Gets the enumerator.
getPlatformType()This method is used to retrieve ECMAScript object Type.
namedItem(String)Returns the item in the collection matched specified name.

See Also