# ArrayListCodec.ConvertFromSurrogate(ArrayListSurrogate)

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

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

```csharp
public override ArrayList ConvertFromSurrogate(ref ArrayListSurrogate surrogate)
```

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

### Parameters

- `surrogate` (`ArrayListSurrogate`): The surrogate.

### Returns

The value.
