IScriptEngineAccessContext Property |
Allows script code to access non-host resources.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax Type AccessContext { get; set; }
Property AccessContext As Type
Get
Set
property Type^ AccessContext {
Type^ get ();
void set (Type^ value);
}
abstract AccessContext : Type with get, set
Property Value
TypeRemarks
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