# GrainStateWithMetaData&lt;TView&gt;.GetBit(string)

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.EventSourcing/StateStorage/GrainStateWithMetaData.cs#L120)

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

Gets one of the bits in `Orleans.EventSourcing.StateStorage.GrainStateWithMetaData-1.WriteVector`

### Parameters

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