ScriptEngineAccessContext Property |
Allows script code to access non-public host resources.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.1
Syntaxpublic Type AccessContext { get; set; }
Public Property AccessContext As Type
Get
Set
public:
property Type^ AccessContext {
Type^ get ();
void set (Type^ value);
}
member AccessContext : Type with get, set
Property Value
Type:
Type
Remarks
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