BsonMemberMapSetIgnoreIfDefault Method |
Sets whether default values should be ignored when serialized.
Namespace:
MongoDB.Bson.Serialization
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
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