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