Method ToUInt64
- Namespace
- MongoDB.Bson.Serialization.Options
- Assembly
- MongoDB.Bson.dll
ToUInt64(Decimal128)
Converts a Decimal128 to a UInt64.
[CLSCompliant(false)]
public ulong ToUInt64(Decimal128 value)
Parameters
value
Decimal128A Decimal128.
Returns
- ulong
A UInt64.
ToUInt64(double)
Converts a Double to a UInt64.
[CLSCompliant(false)]
public ulong ToUInt64(double value)
Parameters
value
doubleA Double.
Returns
- ulong
A UInt64.
ToUInt64(int)
Converts an Int32 to a UInt64.
[CLSCompliant(false)]
public ulong ToUInt64(int value)
Parameters
value
intAn Int32.
Returns
- ulong
A UInt64.
ToUInt64(long)
Converts an Int64 to a UInt64.
[CLSCompliant(false)]
public ulong ToUInt64(long value)
Parameters
value
longAn Int64.
Returns
- ulong
A UInt64.