# PooledBufferStream.Position

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.adaptors.pooledbufferstream/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.adaptors.pooledbufferstream/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Buffers/Adaptors/PooledBufferStream.cs)

```csharp
public override long Position
```

When overridden in a derived class, gets or sets the position within the current stream.

### Returns

The current position within the stream.

### Exceptions

- `System.IO.IOException`: An I/O error occurs.
- `System.NotSupportedException`: The stream does not support seeking.
- `System.ObjectDisposedException`: Methods were called after the stream was closed.
