# GetEnumerator()

> Returns an enumerator that iterates through the collection.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public IEnumerator<Column> GetEnumerator()
```

### Returns

| Type                                                                                                    | Description     |
| ------------------------------------------------------------------------------------------------------- | --------------- |
| [IEnumerator\<Column>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1) | The enumerator. |
