ArrayConstructor.CreateInstance(Object[]) 方法

定义

创建基于原型的对象的实例,在指定的参数中传递。Creates an instance of the prototype-based object, passing in the specified arguments.

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

public:
 Microsoft::JScript::ArrayObject ^ CreateInstance(... cli::array <System::Object ^> ^ args);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs)]
public Microsoft.JScript.ArrayObject CreateInstance (params object[] args);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs)>]
override this.CreateInstance : obj[] -> Microsoft.JScript.ArrayObject
Public Function CreateInstance (ParamArray args As Object()) As ArrayObject

参数

args
Object[]

要传递给构造函数的实参。The arguments to pass to the constructor.

返回

ArrayObject

对象的实例。The instance of the object.

属性

适用于