BsonMemberMapSetIgnoreIfDefault Method |
Sets whether default values should be ignored when serialized.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public BsonMemberMap SetIgnoreIfDefault(
bool ignoreIfDefault
)
Public Function SetIgnoreIfDefault (
ignoreIfDefault As Boolean
) As BsonMemberMap
member SetIgnoreIfDefault :
ignoreIfDefault : bool -> BsonMemberMap
Parameters
- ignoreIfDefault
- Type: SystemBoolean
Whether default values should be ignored when serialized.
Return Value
Type:
BsonMemberMapThe member map.
See Also