HostFunctionsnewObj(IDynamicMetaObjectProvider, Object) Method |
Performs dynamic instantiation.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public Object newObj(
IDynamicMetaObjectProvider target,
params Object[] args
)
Public Function newObj (
target As IDynamicMetaObjectProvider,
ParamArray args As Object()
) As Object
public:
Object^ newObj(
IDynamicMetaObjectProvider^ target,
... array<Object^>^ args
)
member newObj :
target : IDynamicMetaObjectProvider *
args : Object[] -> Object
Parameters
- target IDynamicMetaObjectProvider
- The dynamic host object that provides the instantiation operation to perform.
- args Object
- Optional instantiation arguments.
Return Value
ObjectThe 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