This documentation is archived and is not being maintained.

Convert.ToInt64 Method (SByte)

.NET Framework 1.1

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

This method is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[Visual Basic]
<CLSCompliant(False)>
Overloads Public Shared Function ToInt64( _
   ByVal value As SByte _
) As Long
[C#]
[CLSCompliant(false)]
public static long ToInt64(
 sbyte value
);
[C++]
[CLSCompliant(false)]
public: static __int64 ToInt64(
 char value
);
[JScript]
public
   CLSCompliant(false)
static function ToInt64(
 value : SByte
) : long;

Parameters

value
An 8-bit 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: