HostItemFlags Enumeration |
Defines options for exposing host resources to script code.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax [FlagsAttribute]
public enum HostItemFlags
<FlagsAttribute>
Public Enumeration HostItemFlags
[FlagsAttribute]
public enum class HostItemFlags
[<FlagsAttribute>]
type HostItemFlags
Members Member name | Value | Description |
---|
None | 0 |
Specifies that no options are selected.
|
GlobalMembers | 1 |
Specifies that the host resource's members are to be exposed as global items in the
script engine's root namespace.
|
PrivateAccess | 2 |
Specifies that the host resource's non-public members are to be exposed.
|
HideDynamicMembers | 4 |
Specifies that the host resource's dynamic members are not to be exposed. This option
applies only to objects that implement IDynamicMetaObjectProvider.
|
DirectAccess | 8 |
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.
|
See Also