Converts a 16-bit signed integer to a string in a specified base.
[Visual Basic] Overloads Public Shared Function ToString( _ ByVal value As Short, _ ByVal toBase As Integer _ ) As String [C#] public static string ToString( short value, int toBase ); [C++] public: static String* ToString( short value, int toBase ); [JScript] public static function ToString( value : Int16, 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