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
boolWether null values should be ignored when serialized.
Returns
- BsonMemberMap
The member map.