Table of Contents

Property SerializeDefaultValue

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

SerializeDefaultValue

Gets or sets whether to serialize the default value.

[Obsolete("Use BsonIgnoreIfDefaultAttribute instead.")]
public bool SerializeDefaultValue { get; set; }

Property Value

bool