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
[C#]
public static long ToInt64(
 int value
);
[C++]
public: static __int64 ToInt64(
 int value
);
[JScript]
public static function ToInt64(
   value : int
) : long;

Parameters

value
A 32-signed integer.

Return Value

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

Requirements

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

Show: