ArrayPrototype.toString(Object) 方法

定義

建立指定之物件的字串表示,這個字串會串連元素並且以逗號分隔元素。

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

public:
 static System::String ^ toString(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Array_toString)]
public static string toString (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Array_toString)>]
static member toString : obj -> string
Public Shared Function toString (thisob As Object) As String

參數

thisob
Object

這個方法執行位置的物件。

傳回

字串,串連 thisob 的元素,並且以逗號分隔元素。

屬性

適用於

另請參閱