ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptEngine Class
ScriptEngine Methods
AddHostType Method
AddHostType(Type) Method
AddHostType(HostItemFlags, Type) Method
AddHostType(String, Type) Method
AddHostType(String, HostItemFlags, Type) Method
AddHostType(String, String, Type[]) Method
AddHostType(String, HostItemFlags, String, Type[]) Method
AddHostType(String, String, String, Type[]) Method
AddHostType(String, HostItemFlags, String, String, Type[]) Method

# ScriptEngineAddHostType Method

Overload List

| Name | Description
--- | --- | ---
| AddHostType(Type) | Exposes a host type to script code with a default name.
| AddHostType(HostItemFlags, Type) | Exposes a host type to script code with a default name and the specified options.
| AddHostType(String, Type) | Exposes a host type to script code.
| AddHostType(String, HostItemFlags, Type) | Exposes a host type to script code with the specified options.
| AddHostType(String, String, Type) | Exposes a host type to script code. The type is specified by name.
| AddHostType(String, HostItemFlags, String, Type) | Exposes a host type to script code with the specified options. The type is specified by name.
| AddHostType(String, String, String, Type) | Exposes a host type to script code. The type is specified by type name and assembly name.
| AddHostType(String, HostItemFlags, String, String, Type) | Exposes a host type to script code with the specified options. The type is specified by type name and assembly name.

Top
See Also

#### Reference

ScriptEngine Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft