Convert a UInt16 to an Int32.
[Visual Basic] Overloads Public Shared Function ToInt32( _ ByVal value As UInt16 _ ) As Integer [C#] public static int ToInt32( ushort value ); [C++] public: static int ToInt32( unsigned short value ); [JScript] public static function ToInt32( value : UInt16 ) : int;
The value as an Int32.
Exception Type | Condition |
---|---|
OverflowException | is thrown if value is greater than Int32.MaxValue. |
Convert Class | Convert Members | System Namespace | Convert.ToInt32 Overload List