ScriptEngineGlobal Property |
Allows the host to access script resources.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public abstract ScriptObject Global { get; }
Public MustOverride ReadOnly Property Global As ScriptObject
Get
public:
virtual property ScriptObject^ Global {
ScriptObject^ get () abstract;
}
abstract Global : ScriptObject with get
Property Value
ScriptObjectImplements
IScriptEngineGlobalRemarks
The value of this property is an object that is bound to the script engine's root
namespace. It allows you to access global script resources via the
ScriptObject class interface. Doing so is likely to outperform
dynamic access via
Script.
See Also