# Codec_ParticipantId.Deserialize(Reader&lt;TReaderInput&gt;, ParticipantId)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.codec-participantid/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.codec-participantid/methods/)

```csharp
public void Deserialize<TReaderInput>(ref Reader<TReaderInput> reader, scoped ref ParticipantId instance)
```

Deserializes the specified type.

### Parameters

- `reader` (`Reader<TReaderInput>`): The reader.
- `instance` (`ParticipantId`): The value.
