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
stringThe name of the element.