Table of Contents

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 Decimal128

A Decimal128.

Returns

ulong

A UInt64.

ToUInt64(double)

Converts a Double to a UInt64.

[CLSCompliant(false)]
public ulong ToUInt64(double value)

Parameters

value double

A Double.

Returns

ulong

A UInt64.

ToUInt64(int)

Converts an Int32 to a UInt64.

[CLSCompliant(false)]
public ulong ToUInt64(int value)

Parameters

value int

An Int32.

Returns

ulong

A UInt64.

ToUInt64(long)

Converts an Int64 to a UInt64.

[CLSCompliant(false)]
public ulong ToUInt64(long value)

Parameters

value long

An Int64.

Returns

ulong

A UInt64.