HTMLCollection Class

HTMLCollection class

The HTMLCollection represents a generic collection of Element.

public abstract class HTMLCollection : DOMObject, IEnumerable<Element>

Properties

NameDescription
abstract Item { get; }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 Length { get; }The number of nodes in the list.

Methods

NameDescription
abstract GetEnumerator()Gets the enumerator.
override GetPlatformType()This method is used to retrieve ECMAScript object Type.
NamedItem(string)Returns the item in the collection matched specified name.

See Also