Table of Contents

Constructor BsonDefaultValueAttribute

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

BsonDefaultValueAttribute(object)

Initializes a new instance of the BsonDefaultValueAttribute class.

public BsonDefaultValueAttribute(object defaultValue)

Parameters

defaultValue object

The default value.