Conversions.FromCharAndCount(Char, Int32) 方法

定义

给定字节数时,将 Char 值转换为字符串。Converts a Char value to a string, given a byte count.

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 值。The Char value to convert.

Count
Int32

Char 值的字节数。The byte count of the Char value.

返回

String

指定值的字符串表示形式。The string representation of the specified value.

适用于