ArrayConstructor.ConstructArray(Object[]) 方法

定义

帮助器方法,用于创建新数组并用指定值填充该数组。Helper method that creates a new array and populates it with the specified values.

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

public:
 Microsoft::JScript::ArrayObject ^ ConstructArray(cli::array <System::Object ^> ^ args);
public Microsoft.JScript.ArrayObject ConstructArray (object[] args);
member this.ConstructArray : obj[] -> Microsoft.JScript.ArrayObject
Public Function ConstructArray (args As Object()) As ArrayObject

参数

args
Object[]

用于填充数组的值。The values to populate the array with.

返回

ArrayObject

新数组。The new array.

适用于