Table of Contents

Method WithValueSerializer

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

WithValueSerializer(IBsonSerializer)

Returns a serializer that has been reconfigured with the specified value serializer.

public DictionaryInterfaceImplementerSerializer<TDictionary> WithValueSerializer(IBsonSerializer valueSerializer)

Parameters

valueSerializer IBsonSerializer

The value serializer.

Returns

DictionaryInterfaceImplementerSerializer<TDictionary>

The reconfigured serializer.