IDebugConvert.Int16ToString(Int16, Int32) 方法

定义

在类中实现时,将指定的 Int16 值转换为 StringWhen implemented in a class, converts the specified Int16 value to a String.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 System::String ^ Int16ToString(short value, int radix);
public string Int16ToString (short value, int radix);
abstract member Int16ToString : int16 * int -> string
Public Function Int16ToString (value As Short, radix As Integer) As String

参数

value
Int16

要转换的值。The value to convert.

radix
Int32

该返回值的基数。The base of the return value. 基数必须是 2、8、10 或 16。The base must be 2, 8, 10, or 16.

返回

String

value 为基数的 radix 的字符串表示形式。The string representation of value in base radix.

适用于

另请参阅