Click or drag to resize
BsonMemberMap.ShouldSerialize Method
Determines whether a value should be serialized

Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.2.0
Syntax
public bool ShouldSerialize(
	Object obj,
	Object value
)

Parameters

obj
Type: System.Object
The object.
value
Type: System.Object
The value.

Return Value

Type: Boolean
True if the value should be serialized.
See Also