BsonMemberMapSetIgnoreIfDefault Method |
Sets whether default values should be ignored when serialized.
Namespace: MongoDB.Bson.SerializationAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.1.0
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