NodeList Class
https://dom.spec.whatwg.org/#interface-nodelist
public abstract class NodeList : IEnumerable<Node>, IReadOnlyCollection<Node>, IReadOnlyList<Node>, IEnumerableProperties
| Name | Description |
|---|---|
| Count | Gets the number of nodes in the list. |
| Length | Gets the number of nodes in the list. |
Count
NodeList.csLength
Gets the number of nodes in the list.
public abstract uint Length { get; }Indexers
| Name | Description |
|---|---|
| this[int] | Gets the node at the given index; throws when the index is out of range. |
| this[uint] | Gets the node at the given index, or null when the index is out of range. |
ItemAt overloads
this[int]
NodeList.csthis[uint]
NodeList.csGets the node at the given index, or null when the index is out of range.
Methods
| Name | Description |
|---|---|
| GetEnumerator() | Returns an enumerator that iterates through the collection. |
| Item(uint) | Returns the node at the given index, or null when the index is out of range. |
| System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Dom.Node>.get_Item(int) | |
| System.Collections.IEnumerable.GetEnumerator() |
GetEnumerator()
NodeList.csReturns an enumerator that iterates through the collection.
public virtual IEnumerator<Node> GetEnumerator()Item(uint)
Returns the node at the given index, or null when the index is out of range.