# StringEncodedWriteVector.GetBit(string, string)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.common.stringencodedwritevector/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.eventsourcing/orleans.eventsourcing.common.stringencodedwritevector/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.EventSourcing/Common/StringEncodedWriteVector.cs#L24-L25)

```csharp
public static bool GetBit(string writeVector, string Replica)
```

Gets one of the bits in writeVector

### Parameters

- `writeVector` (`string`): The write vector which we want get the bit from
- `Replica` (`string`): The replica for which we want to look up the bit
