Method WithItemSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
WithItemSerializer(IBsonSerializer)
Returns a serializer that has been reconfigured with the specified item serializer.
public StackSerializer WithItemSerializer(IBsonSerializer itemSerializer)
Parameters
itemSerializer
IBsonSerializerThe item serializer.
Returns
- StackSerializer
The reconfigured serializer.