## FeaturesSequence.GetEnumerator method

Returns an enumerator that iterates through the collection.

```csharp
public abstract IEnumerator<Feature> GetEnumerator()
```

### Return Value

An enumerator that can be used to iterate through the collection.

### Exceptions

| exception | condition |
| --- | --- |
| InvalidOperationException | is thrown if the operation is not supported by the layer. |

### See Also

* class [Feature](../../feature/)
* class [FeaturesSequence](../)
* namespace [Aspose.Gis](../../featuressequence/)
* assembly [Aspose.GIS](../../../)


