Table of Contents

Constructor IgnoreExtraElementsConvention

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

IgnoreExtraElementsConvention(bool)

Initializes a new instance of the IgnoreExtraElementsConvention class.

public IgnoreExtraElementsConvention(bool ignoreExtraElements)

Parameters

ignoreExtraElements bool

Whether to ignore extra elements encountered during deserialization.