Decimal ExplicitNarrowingExplicitExplicitExplicit Conversion (Decimal to UInt16)
Defines an explicit conversion of a Decimal to a 16-bit unsigned integer.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- value
- Type: System..::..Decimal
The value to convert.
Return Value
A 16-bit unsigned integer that represents the converted Decimal.Exceptions
Exception | Condition |
---|---|
System..::..OverflowException | value is greater than MaxValue or less than MinValue. |