Share via


Conversions.FromCharAndCount(Char, Int32) 方法

定义

给定字节数时,将 Char 值转换为字符串。

public:
 static System::String ^ FromCharAndCount(char Value, int Count);
public static string FromCharAndCount (char Value, int Count);
static member FromCharAndCount : char * int -> string
Public Shared Function FromCharAndCount (Value As Char, Count As Integer) As String

参数

Value
Char

要转换的 Char 值。

Count
Int32

Char 值的字节数。

返回

指定值的字符串表示形式。

适用于