Method ToUInt64
| MongoDB CSharp Driver API Reference (original) (raw)
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
Decimal128
A Decimal128.
Returns
A UInt64.
ToUInt64(double)
Converts a Double to a UInt64.
[CLSCompliant(false)]
public ulong ToUInt64(double value)
Parameters
value
double
A Double.
Returns
A UInt64.
ToUInt64(int)
Converts an Int32 to a UInt64.
[CLSCompliant(false)]
public ulong ToUInt64(int value)
Parameters
value
int
An Int32.
Returns
A UInt64.
ToUInt64(long)
Converts an Int64 to a UInt64.
[CLSCompliant(false)]
public ulong ToUInt64(long value)
Parameters
value
long
An Int64.
Returns
A UInt64.