Constructor BsonSerializationInfo
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
BsonSerializationInfo(string, IBsonSerializer, Type)
Initializes a new instance of the BsonSerializationInfo class.
public BsonSerializationInfo(string elementName, IBsonSerializer serializer, Type nominalType)
Parameters
elementName
stringThe element name.
serializer
IBsonSerializerThe serializer.
nominalType
TypeThe nominal type.