# BatchContainerBatch.GetEvents

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.batchcontainerbatch/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.batchcontainerbatch/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/QueueAdapters/BatchContainerBatch.cs#L52)

```csharp
public IEnumerable<Tuple<T, StreamSequenceToken>> GetEvents<T>()
```

Gets events of a specific type from the batch.
