---
title: "DOMTokenList.GetEnumerator"
url: "https://reference.aspose.com/html/net/aspose.html.collections/domtokenlist/getenumerator/"
product: "Aspose.HTML for .NET API Reference"
description: "DOMTokenList GetEnumerator method. Returns an enumerator that iterates through the collection"
---

## DOMTokenList.GetEnumerator method

Returns an enumerator that iterates through the collection.

```csharp
public IEnumerator<string> GetEnumerator()
```

### Return Value

An IEnumerator object that can be used to iterate through the collection.

### See Also

* class [DOMTokenList](../)
* namespace [Aspose.Html.Collections](../../../aspose.html.collections/)
* assembly [Aspose.HTML](../../../)
