# SpanEnumerator.MoveNext

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.pooledbuffer.bufferslice.spanenumerator/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.pooledbuffer.bufferslice.spanenumerator/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Buffers/PooledBuffer.cs#L665-L732)

```csharp
public bool MoveNext()
```

Advances the enumerator to the next element of the collection.

### Returns

`true` if the enumerator was successfully advanced to the next element; `false` if the enumerator has passed the end of the collection.
