Table of Contents

Method WithItemSerializer

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

WithItemSerializer(IBsonSerializer<TItem>)

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

public TwoDimensionalArraySerializer<TItem> WithItemSerializer(IBsonSerializer<TItem> itemSerializer)

Parameters

itemSerializer IBsonSerializer<TItem>

The item serializer.

Returns

TwoDimensionalArraySerializer<TItem>

The reconfigured serializer.