## HTMLCollection.GetEnumerator method

Gets the enumerator.

```csharp
public abstract IEnumerator<Element> GetEnumerator()
```

### Return Value

An IEnumerator object that can be used to iterate through the collection.

### See Also

* class [Element](../../../aspose.html.dom/element/)
* class [HTMLCollection](../)
* namespace [Aspose.Html.Collections](../../../aspose.html.collections/)
* assembly [Aspose.HTML](../../../)
