Share via


IDebugConvert.ByteToString(Byte, Int32) 方法

定義

在類別中實作時,將指定的 Byte 值轉換成 String

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 System::String ^ ByteToString(System::Byte value, int radix);
public string ByteToString (byte value, int radix);
abstract member ByteToString : byte * int -> string
Public Function ByteToString (value As Byte, radix As Integer) As String

參數

value
Byte

要進行轉換的值。

radix
Int32

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

傳回

在基底 valueradix 的字串表示。

適用於

另請參閱