Table of Contents

Method SetIgnoreIfDefault

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

SetIgnoreIfDefault(bool)

Sets whether default values should be ignored when serialized.

public BsonMemberMap SetIgnoreIfDefault(bool ignoreIfDefault)

Parameters

ignoreIfDefault bool

Whether default values should be ignored when serialized.

Returns

BsonMemberMap

The member map.