ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptEngine Class
ScriptEngine Methods
AddHostObject Method
AddHostObject(String, Object) Method
AddHostObject(String, HostItemFlags, Object) Method

# ScriptEngineAddHostObject Method

Overload List

| Name | Description
--- | --- | ---
| AddHostObject(String, Object) | Exposes a host object to script code.
| AddHostObject(String, HostItemFlags, Object) | Exposes a host object to script code with the specified options.

Top
See Also

#### Reference

ScriptEngine Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft