# LogStateWithMetaData&lt;TEntry&gt;.GetBit(string)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.logstorage.logstatewithmetadata-1/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.logstorage.logstatewithmetadata-1/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.EventSourcing/LogStorage/LogStateWithMetaData.cs#L97)

```csharp
public bool GetBit(string replica)
```

Gets one of the bits in `Orleans.EventSourcing.LogStorage.LogStateWithMetaData-1.WriteVector`

### Parameters

- `replica` (`string`): The replica for which we want to look up the bit
