Table of Contents

Constructor BsonElementAttribute

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

BsonElementAttribute()

Initializes a new instance of the BsonElementAttribute class.

public BsonElementAttribute()

BsonElementAttribute(string)

Initializes a new instance of the BsonElementAttribute class.

public BsonElementAttribute(string elementName)

Parameters

elementName string

The name of the element.