# ImmutableSortedSetSurrogate&lt;T&gt;

Package: [Microsoft.Orleans.Serialization](/orleans/docs/api/csharp/microsoft.orleans.serialization/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Serialization)

```csharp
[Orleans.GenerateSerializer]
public struct ImmutableSortedSetSurrogate<T>
```

Surrogate type used by `Orleans.Serialization.Codecs.ImmutableSortedSetCodec-1`.

## Type parameters

- `T`: The element type.

## Fields

- [KeyComparer](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.immutablesortedsetsurrogate-1/fields/keycomparer-9f794d6b/)
- [Values](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.immutablesortedsetsurrogate-1/fields/values-6de834ab/)
