HTMLCollection

HTMLCollection class

The HTMLCollection represents a generic collection of Element.

public abstract class HTMLCollection : DOMObject, IEnumerable<Element>

Properties

Name Description
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

Name Description
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