IHtmlCollection<T>
HTMLCollection is an interface representing a generic collection
(array) of elements (in document order) and offers methods and
properties for selecting from the list.
using AngleSharp.Attributes;
using System.Collections;
using System.Collections.Generic;
namespace AngleSharp.Dom
{
[DomName("HTMLCollection")]
public interface IHtmlCollection<T> : IEnumerable<T>, IEnumerable where T : IElement
{
[DomName("length")]
int Length { get; }
[DomName("item")]
[DomAccessor(Accessors.Getter)]
T this[int index] { get; }
[DomName("namedItem")]
[DomAccessor(Accessors.Getter)]
T this[string id] { get; }
}
}