Defines options for exposing host resources to script code.
ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.4
public enum HostItemFlags
Public Enumeration HostItemFlags
public enum class HostItemFlags
Specifies that no options are selected.
Specifies that the host resource's members are to be exposed as global items in the
script engine's root namespace.
Specifies that the host resource's non-public members are to be exposed.
Specifies that the host resource's dynamic members are not to be exposed. This option
applies only to objects that implement IDynamicMetaObjectProvider.
Specifies that the script engine is to be given direct access to the exposed object if
possible. This option, when supported, suppresses marshaling and hands off the object
for script access without the host's involvement. It is currently supported only for
COM and COM-visible
objects exposed in Windows Script engines.