Operator explicit operator
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Bson.dll
explicit operator byte(Decimal128)
public static explicit operator byte(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator char(Decimal128)
public static explicit operator char(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator decimal(Decimal128)
public static explicit operator decimal(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator Decimal128(double)
public static explicit operator Decimal128(double value)
Parameters
value
double
The value.
Returns
The result of the conversion.
explicit operator Decimal128(float)
public static explicit operator Decimal128(float value)
Parameters
value
float
The value.
Returns
The result of the conversion.
explicit operator double(Decimal128)
public static explicit operator double(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator float(Decimal128)
public static explicit operator float(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator int(Decimal128)
Performs an explicit conversion from Decimal128 to int.
public static explicit operator int(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator long(Decimal128)
public static explicit operator long(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator sbyte(Decimal128)
[CLSCompliant(false)]
public static explicit operator sbyte(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator short(Decimal128)
public static explicit operator short(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator uint(Decimal128)
[CLSCompliant(false)]
public static explicit operator uint(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator ulong(Decimal128)
[CLSCompliant(false)]
public static explicit operator ulong(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.
explicit operator ushort(Decimal128)
[CLSCompliant(false)]
public static explicit operator ushort(Decimal128 value)
Parameters
value
Decimal128
The value to convert.
Returns
The result of the conversion.