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
boolWhether to ignore extra elements encountered during deserialization.