Click or drag to resize

BsonSerializer.Deserialize Method (IBsonReader, Type, Action<BsonDeserializationContext.Builder>)

Deserializes a value.

Namespace:  MongoDB.Bson.Serialization
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
public static Object Deserialize(
	IBsonReader bsonReader,
	Type nominalType,
	Action<BsonDeserializationContext.Builder> configurator = null
)

Parameters

bsonReader
Type: MongoDB.Bson.IO.IBsonReader
The BsonReader.
nominalType
Type: System.Type
The nominal type of the object.
configurator (Optional)
Type: System.Action<BsonDeserializationContext.Builder>
The configurator.

Return Value

Type: Object
A deserialized value.
See Also