BsonValue Conversion (NullableInt32 to BsonValue) |
Converts an int? to a BsonValue.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax public static implicit operator BsonValue (
int? value
)
Public Shared Widening Operator CType (
value As Integer?
) As BsonValue
F# does not support the declaration of new casting operators.
Parameters
- value
- Type: SystemNullableInt32
An int?.
Return Value
Type:
BsonValueA BsonValue.
See Also