Click or drag to resize
DictionaryInterfaceImplementerSerializerTDictionaryWithValueSerializer Method
Returns a serializer that has been reconfigured with the specified value serializer.

Namespace: MongoDB.Bson.Serialization.Serializers
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.2.0
Syntax
public DictionaryInterfaceImplementerSerializer<TDictionary> WithValueSerializer(
	IBsonSerializer valueSerializer
)

Parameters

valueSerializer
Type: MongoDB.Bson.SerializationIBsonSerializer
The value serializer.

Return Value

Type: DictionaryInterfaceImplementerSerializerTDictionary
The reconfigured serializer.
See Also