## HTMLCollection.GetEnumerator method

获取枚举器。

```csharp
public abstract IEnumerator<Element> GetEnumerator()
```

### 返回值

一个IEnumerator可用于遍历集合的对象。

### 也可以看看

* class [Element](../../../aspose.html.dom/element/)
* class [HTMLCollection](../)
* 命名空间 [Aspose.Html.Collections](../../htmlcollection/)
* 部件 [Aspose.HTML](../../../)


