ScriptEngineAccessContext Property |
Allows script code to access non-host resources.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public Type AccessContext { get; set; }
Public Property AccessContext As Type
Get
Set
public:
virtual property Type^ AccessContext {
Type^ get () sealed;
void set (Type^ value) sealed;
}
abstract AccessContext : Type with get, set
override AccessContext : Type with get, set
Property Value
TypeImplements
IScriptEngineAccessContextRemarks
By setting this property to a type you declare that script code running in the current
script engine is to be treated as if it were part of that type's implementation. Doing
so does not expose any host resources to script code, but it affects which host
resources are importable and which members of exposed resources are accessible.
See Also