# SortedDictionarySurrogate&lt;TKey, TValue&gt; Fields

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.sorteddictionarysurrogate-2/)

## Comparer {#comparer-40ec63fb}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.sorteddictionarysurrogate-2/fields/comparer-40ec63fb/)

```csharp
[Orleans.Id(1)]
public IComparer<TKey> SortedDictionarySurrogate<TKey, Comparer
```

Gets or sets the comparer.

### Value

The comparer.

## Values {#values-c6475e55}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.sorteddictionarysurrogate-2/fields/values-c6475e55/)

```csharp
[Orleans.Id(0)]
public List<KeyValuePair<TKey, TValue>> SortedDictionarySurrogate<TKey, Values
```

Gets or sets the values.

### Value

The values.
