Class BsonExtraElementsAttribute

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

Namespace

MongoDB.Bson.Serialization.Attributes

Assembly

MongoDB.Bson.dll

Indicates that this property or field will be used to hold any extra elements found during deserialization.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
[BsonMemberMapAttributeUsage(AllowMultipleMembers = false)]
public class BsonExtraElementsAttribute : Attribute, IBsonMemberMapAttribute

Inheritance

BsonExtraElementsAttribute

Implements

Inherited Members

Extension Methods

Methods

Apply(BsonMemberMap)

Applies a modification to the member map.