Table of Contents

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 EnumerableInterfaceImplementerSerializer<TValue> WithItemSerializer(IBsonSerializer itemSerializer)

Parameters

itemSerializer IBsonSerializer

The item serializer.

Returns

EnumerableInterfaceImplementerSerializer<TValue>

The reconfigured serializer.