Converts a 64-bit signed integer to a string using a specified base.
[Visual Basic] Overloads Public Shared Function ToString( _ ByVal value As Long, _ ByVal toBase As Integer _ ) As String [C#] public static string ToString( long value, int toBase ); [C++] public: static String* ToString( __int64 value, int toBase ); [JScript] public static function ToString( value : long, toBase : int ) : String;
The converted value.
Exception Type | Condition |
---|---|
ArgumentException | if fromBase is not 2, 8, 10, or 16. |
Convert Class | Convert Members | System Namespace | Convert.ToString Overload List