asp.net.ph

Convert.ToString Method ( Int64, Int32 )

System Namespace   Convert Class


Converts the value of a 64-bit signed integer to its equivalent String representation in a specified base.

[ VB ]
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;

Parameters

value
A 64-bit signed integer.
toBase
The base of the return value, which must be 2, 8, 10, or 16.

Return Value

The String representation of value in base toBase.

Exceptions


Exception Type Condition
ArgumentException toBase is not 2, 8, 10, or 16.

See Also

Convert Members   Convert.ToString Overload List   Int64 Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph