NodeList

NodeList class

NodeList 提供了节点有序集合的抽象,没有定义或限制如何实现这个集合。

public abstract class NodeList : DOMObject, IEnumerable<Node>

特性

姓名描述
abstract Item { get; }方法返回集合中的第索引项。如果 index 大于或等于列表中的节点数,则返回 null.
abstract Length { get; }列表中的节点数。

方法

姓名描述
abstract GetEnumerator()返回一个遍历集合的枚举器。
override GetPlatformType()此方法用于检索 ECMAScript 对象Type .

也可以看看