StringConstructor.fromCharCode(Object[]) 方法

定义

将指定数组的每个元素转换为字符,并将它们连接起来。Converts each element of the specified array to a character and concatenates them.

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

public:
 static System::String ^ fromCharCode(... cli::array <System::Object ^> ^ args);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs, Microsoft.JScript.JSBuiltin.String_fromCharCode)]
public static string fromCharCode (params object[] args);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs, Microsoft.JScript.JSBuiltin.String_fromCharCode)>]
static member fromCharCode : obj[] -> string
Public Shared Function fromCharCode (ParamArray args As Object()) As String

参数

args
Object[]

要转换为字符串的元素。The elements to convert to a string.

返回

String

arg 的字符串表示形式。A string representation of arg.

属性

适用于

另请参阅