Table of Contents

Method ToUInt32

Namespace
MongoDB.Bson.Serialization.Options
Assembly
MongoDB.Bson.dll

ToUInt32(Decimal128)

Converts a Decimal128 to a UInt32.

[CLSCompliant(false)]
public uint ToUInt32(Decimal128 value)

Parameters

value Decimal128

A Decimal128.

Returns

uint

A UInt32.

ToUInt32(double)

Converts a Double to a UInt32.

[CLSCompliant(false)]
public uint ToUInt32(double value)

Parameters

value double

A Double.

Returns

uint

A UInt32.

ToUInt32(int)

Converts an Int32 to a UInt32.

[CLSCompliant(false)]
public uint ToUInt32(int value)

Parameters

value int

An Int32.

Returns

uint

A UInt32.

ToUInt32(long)

Converts an Int64 to a UInt32.

[CLSCompliant(false)]
public uint ToUInt32(long value)

Parameters

value long

An Int64.

Returns

uint

A UInt32.