Click or drag to resize

HostFunctionsnewObj(IDynamicMetaObjectProvider, Object) Method

Performs dynamic instantiation.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
public Object newObj(
	IDynamicMetaObjectProvider target,
	params Object[] args
)

Parameters

target  IDynamicMetaObjectProvider
The dynamic host object that provides the instantiation operation to perform.
args  Object
Optional instantiation arguments.

Return Value

Object
The result of the operation, which is usually a new dynamic host object.
Remarks
This function is provided for script languages that do not support external instantiation.
See Also