Constructor BsonIgnoreIfNullAttribute
- Namespace
- MongoDB.Bson.Serialization.Attributes
- Assembly
- MongoDB.Bson.dll
BsonIgnoreIfNullAttribute()
Initializes a new instance of the BsonIgnoreIfNullAttribute class.
BsonIgnoreIfNullAttribute(bool)
Initializes a new instance of the BsonIgnoreIfNullAttribute class.
Parameters
value
boolWhether a field or property equal to null should be ignored when serializing this class.