IRepresentationConverterConfigurableWithConverter Method |
Returns a serializer that has been reconfigured with the specified item serializer.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax IBsonSerializer WithConverter(
RepresentationConverter converter
)
Function WithConverter (
converter As RepresentationConverter
) As IBsonSerializer
abstract WithConverter :
converter : RepresentationConverter -> IBsonSerializer
Parameters
- converter
- Type: MongoDB.Bson.Serialization.OptionsRepresentationConverter
The converter.
Return Value
Type:
IBsonSerializerThe reconfigured serializer.
See Also