This documentation is archived and is not being maintained.

Convert.ToInt64 Method (Int32)

.NET Framework 1.1

Converts the value of the specified 32-bit signed integer to an equivalent 64-bit signed integer.

[Visual Basic]
Overloads Public Shared Function ToInt64( _
   ByVal value As Integer _
) As Long
public static long ToInt64(
 int value
public: static __int64 ToInt64(
 int value
public static function ToInt64(
   value : int
) : long;


A 32-signed integer.

Return Value

The 64-bit signed integer equivalent to the value of value.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

Convert Class | Convert Members | System Namespace | Convert.ToInt64 Overload List