Table of Contents

Method ShouldSerialize

Namespace
MongoDB.Bson.Serialization
Assembly
MongoDB.Bson.dll

ShouldSerialize(object, object)

Determines whether a value should be serialized

public bool ShouldSerialize(object obj, object value)

Parameters

obj object

The object.

value object

The value.

Returns

bool

True if the value should be serialized.