Table of Contents

Method SetIgnoreExtraElements

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

SetIgnoreExtraElements(bool)

Sets whether extra elements should be ignored when deserializing.

public void SetIgnoreExtraElements(bool ignoreExtraElements)

Parameters

ignoreExtraElements bool

Whether extra elements should be ignored when deserializing.