Click or drag to resize

IChildSerializerConfigurableWithChildSerializer Method

Returns a serializer that has been reconfigured with the specified child serializer.

Namespace:  MongoDB.Bson.Serialization
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
IBsonSerializer WithChildSerializer(
	IBsonSerializer childSerializer
)

Parameters

childSerializer
Type: MongoDB.Bson.SerializationIBsonSerializer
The child serializer.

Return Value

Type: IBsonSerializer
The reconfigured serializer.
See Also