WindowsScriptEngineGlobal Property |
Allows the host to access script resources.
Namespace: Microsoft.ClearScript.Windows.CoreAssembly: ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.4.5
Syntax public override ScriptObject Global { get; }
Public Overrides ReadOnly Property Global As ScriptObject
Get
public:
virtual property ScriptObject^ Global {
ScriptObject^ get () override;
}
abstract Global : ScriptObject with get
override 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