Method WithConverter
- Namespace
 - MongoDB.Bson.Serialization
 
- Assembly
 - MongoDB.Bson.dll
 
WithConverter(RepresentationConverter)
Returns a serializer that has been reconfigured with the specified item serializer.
IBsonSerializer WithConverter(RepresentationConverter converter)
Parameters
converterRepresentationConverterThe converter.
Returns
- IBsonSerializer
 The reconfigured serializer.