EnumerableInterfaceImplementerSerializerTValue, TItemWithItemSerializer Method |
Returns a serializer that has been reconfigured with the specified item serializer.
Namespace:
MongoDB.Bson.Serialization.Serializers
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax public EnumerableInterfaceImplementerSerializer<TValue, TItem> WithItemSerializer(
IBsonSerializer<TItem> itemSerializer
)
Public Function WithItemSerializer (
itemSerializer As IBsonSerializer(Of TItem)
) As EnumerableInterfaceImplementerSerializer(Of TValue, TItem)
member WithItemSerializer :
itemSerializer : IBsonSerializer<'TItem> -> EnumerableInterfaceImplementerSerializer<'TValue, 'TItem>
Parameters
- itemSerializer
- Type: MongoDB.Bson.SerializationIBsonSerializerTItem
The item serializer.
Return Value
Type:
EnumerableInterfaceImplementerSerializerTValue,
TItemThe reconfigured serializer.
See Also