共用方式為


IDebugConvert.Int16ToString(Int16, Int32) 方法

定義

在類別中實作時,將指定的 Int16 值轉換成 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

要進行轉換的值。

radix
Int32

傳回值的基數。 基數必須是 2、8、10 或 16。

傳回

String

在基底 valueradix 的字串表示。

適用於

另請參閱