Table of Contents

Class BsonDictionaryOptionsAttribute

Namespace
MongoDB.Bson.Serialization.Attributes
Assembly
MongoDB.Bson.dll

Specifies serialization options for a Dictionary field or property.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class BsonDictionaryOptionsAttribute : BsonSerializationOptionsAttribute, IBsonMemberMapAttribute
Inheritance
BsonDictionaryOptionsAttribute
Implements
Inherited Members
Extension Methods

Constructors

BsonDictionaryOptionsAttribute()

Initializes a new instance of the BsonDictionaryOptionsAttribute class.

BsonDictionaryOptionsAttribute(DictionaryRepresentation)

Initializes a new instance of the BsonDictionaryOptionsAttribute class.

Properties

Representation

Gets or sets the external representation.

Methods

Apply(IBsonSerializer)

Reconfigures the specified serializer by applying this attribute to it.