Converts a Currency to a UInt32.
[Visual Basic] Public Shared Function ToUInt32( _ ByVal c As Currency _ ) As UInt32 [C#] public static uint ToUInt32( Currency c ); [C++] public: static unsigned int ToUInt32( Currency c ); [JScript] public static function ToUInt32( c : Currency ) : UInt32;
The result of converting the Currency value to UInt32.
Exception Type | Condition |
---|---|
OverflowException | If the Currency value is outside the acceptable range. |
Note that this method is not CLS complaint.
The ToUInt32 converts this instance of Currency to a UInt32 (uint) value. The Currency value is rounded towards zero to the nearest integer value, and the result of this operation is returned as an unsigned integer.An overflow exception is thrown if the Currency value is less than MinValue or greater than MaxValue.