Method WithDictionaryRepresentation

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization

Assembly

MongoDB.Bson.dll

WithDictionaryRepresentation(DictionaryRepresentation)

Returns a serializer that has been reconfigured with the specified dictionary representation.

IBsonSerializer WithDictionaryRepresentation(DictionaryRepresentation dictionaryRepresentation)

Parameters

dictionaryRepresentation DictionaryRepresentation

The dictionary representation.

Returns

IBsonSerializer

The reconfigured serializer.