Click or drag to resize

BsonValue  Conversion (Int32 to BsonValue)

Converts an int to a BsonValue.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
public static implicit operator BsonValue (
	int value
)

Parameters

value
Type: SystemInt32
An int.

Return Value

Type: BsonValue
A BsonValue.
See Also