Converts an Int64 to an Int32.
[Visual Basic] Overloads Public Shared Function ToInt32( _ ByVal value As Long _ ) As Integer [C#] public static int ToInt32( long value ); [C++] public: static int ToInt32( __int64 value ); [JScript] public static function ToInt32( value : long ) : int;
The value as an Int32 .
Exception Type | Condition |
---|---|
OverflowException | is thrown if value is greater than Int32.MaxValue or less than Int32.MinValue. |
Convert Class | Convert Members | System Namespace | Convert.ToInt32 Overload List