Convert.ToInt64 Method (String, Int32)
Assembly: mscorlib (in mscorlib.dll)
A String containing a number.
The base of the number in value, which must be 2, 8, 10, or 16.
Return ValueA 64-bit signed integer equivalent to the number in value. -or- Zero if value is a null reference (Nothing in Visual Basic).
fromBase is not 2, 8, 10, or 16.
value, which represents a non-base 10 signed number, is prefixed with a negative sign.
value contains a character that is not a valid digit in the base specified by fromBase. The exception message indicates there are no digits to convert if the first character in value is invalid; otherwise, the message indicates value contains invalid trailing characters.
value, which represents a base 10 signed number, is prefixed with a negative sign.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.