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
IBsonSerializerThe value serializer.
Returns
- DictionaryInterfaceImplementerSerializer<TDictionary>
The reconfigured serializer.