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