Click or drag to resize
BsonSerializer.Deserialize Method (Stream, Type, Action<BsonDeserializationContext.Builder>)
Deserializes an object from a BSON Stream.

Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.4.1
Syntax
public static Object Deserialize(
	Stream stream,
	Type nominalType,
	Action<BsonDeserializationContext. Builder> configurator = null
)

Parameters

stream
Type: System.IO.Stream
The BSON Stream.
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