Click or drag to resize

BsonTypeMapperMapToDotNetValue Method (BsonValue)

Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public static Object MapToDotNetValue(
	BsonValue bsonValue
)

Parameters

bsonValue
Type: MongoDB.BsonBsonValue
The BsonValue.

Return Value

Type: Object
The mapped .NET value.
See Also