Table of Contents

Class IgnoreExtraElementsConvention

Namespace
MongoDB.Bson.Serialization.Conventions
Assembly
MongoDB.Bson.dll

A convention that sets whether to ignore extra elements encountered during deserialization.

public class IgnoreExtraElementsConvention : ConventionBase, IClassMapConvention, IConvention
Inheritance
IgnoreExtraElementsConvention
Implements
Inherited Members
Extension Methods

Constructors

IgnoreExtraElementsConvention(bool)

Initializes a new instance of the IgnoreExtraElementsConvention class.

Methods

Apply(BsonClassMap)

Applies a modification to the class map.