Table of Contents

Method SetIgnoreIfNull

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

SetIgnoreIfNull(bool)

Sets whether null values should be ignored when serialized.

public BsonMemberMap SetIgnoreIfNull(bool ignoreIfNull)

Parameters

ignoreIfNull bool

Wether null values should be ignored when serialized.

Returns

BsonMemberMap

The member map.