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