# IEnumerable.GetEnumerator Method

## Overloads

| [IEnumerable.GetEnumerator()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.CurrentSelection.System-Collections-IEnumerable-GetEnumerator.htm#Qlik_Sense_Client_CurrentSelection_System_Collections_IEnumerable_GetEnumerator) |  | Returns an enumerator that iterates through a collection. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.CurrentSelection.System-Collections-IEnumerable-GetEnumerator.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.CurrentSelection.System-Collections-IEnumerable-GetEnumerator.htm)

## IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

### Declaration

```

          IEnumerator IEnumerable.GetEnumerator()
    
  
```

### Returns

| Type | Description |
| --- | --- |
| System.Collections.IEnumerator | An System.Collections.IEnumerator object that can be used to iterate through the collection. |

### Implements

System.Collections.IEnumerable.GetEnumerator()