# ConcurrentDictionaryCodec&lt;TKey, TValue&gt;.ConvertFromSurrogate(ConcurrentDictionarySurrogate&lt;TKey, TValue&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.concurrentdictionarycodec-2/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.concurrentdictionarycodec-2/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Codecs/ConcurrentDictionaryCodec.cs#L28)

```csharp
public override ConcurrentDictionary<TKey, TValue> ConcurrentDictionaryCodec<TKey, ConvertFromSurrogate(ref ConcurrentDictionarySurrogate<TKey, TValue> surrogate)
```

Converts a value from the surrogate type to the field type.

### Parameters

- `surrogate` (`ConcurrentDictionarySurrogate<TKey, TValue>`): The surrogate.

### Returns

The value.
