Table of Contents

Constructor IgnoreIfNullConvention

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

IgnoreIfNullConvention(bool)

Initializes a new instance of the IgnoreIfNullConvention class.

public IgnoreIfNullConvention(bool ignoreIfNull)

Parameters

ignoreIfNull bool

Whether to ignore nulls during serialization.