BsonValue Conversion (Decimal to BsonValue) |
Converts a decimal to a BsonValue.
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax public static implicit operator BsonValue (
decimal value
)
Public Shared Widening Operator CType (
value As Decimal
) As BsonValue
F# does not support the declaration of new casting operators.
Parameters
- value
- Type: SystemDecimal
A decimal.
Return Value
Type:
BsonValueA BsonValue.
See Also