# IDurableLog&lt;T&gt;.this[long]

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.idurablelog-1/) | [Indexers](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.journaling.idurablelog-1/indexers/)

```csharp
public abstract T this[long sequence]
```

Gets the retained entry with the specified sequence number.

### Parameters

- `sequence` (`long`): The entry's sequence number.

### Returns

The entry.

### Exceptions

- `System.ArgumentOutOfRangeException`: The log does not retain an entry with `sequence`.
