ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
IScriptEngine Interface
IScriptEngine Methods
AddRestrictedHostObject Method
AddRestrictedHostObject<T>(String, T) Method
AddRestrictedHostObject<T>(String, HostItemFlags, T) Method

# IScriptEngineAddRestrictedHostObject Method

Overload List

| Name | Description
--- | --- | ---
| AddRestrictedHostObjectT(String, T) | Exposes a host object to script code with the specified type restriction.
| AddRestrictedHostObjectT(String, HostItemFlags, T) | Exposes a host object to script code with the specified type restriction and options.

Top
See Also

#### Reference

IScriptEngine Interface
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft