ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
HostFunctions Class
HostFunctions Methods
newObj Method
newObj Method
newObj<T>(Object[]) Method
newObj(IDynamicMetaObjectProvider, Object[]) Method
newObj(Object, Object[]) Method

# HostFunctionsnewObj Method

Overload List

| Name | Description
--- | --- | ---
| newObj | Creates an empty host object.
| newObj(IDynamicMetaObjectProvider, Object) | Performs dynamic instantiation.
| newObj(Object, Object) | Creates a host object of the specified type. This version is invoked if the specified type cannot be used as a type argument.
| newObjT(Object) | Creates a host object of the specified type. This version is invoked if the specified type can be used as a type argument.

Top
See Also

#### Reference

HostFunctions Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft