VBArrayConstructor.CreateInstance(Object[]) 方法
定义
创建基于原型的对象的实例,在指定的参数中传递。Creates an instance of the prototype-based object, passing in the specified arguments.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
System::Object ^ CreateInstance(... cli::array <System::Object ^> ^ args);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs)]
public object CreateInstance (params object[] args);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasVarArgs)>]
override this.CreateInstance : obj[] -> obj
Public Function CreateInstance (ParamArray args As Object()) As Object
参数
- args
- Object[]
要传递给构造函数的实参。The arguments to pass to the constructor.
返回
对象的实例。An instance of the object.
- 属性