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

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