ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.Windows.Core
WindowsScriptEngine Class
WindowsScriptEngine Properties
Global Property
HostWindow Property
Script Property
SyncInvoker Property

# WindowsScriptEngineGlobal Property

Allows the host to access script resources.
Namespace: Microsoft.ClearScript.Windows.Core
Assembly: ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    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

ScriptObject

#### Implements

IScriptEngineGlobal
Remarks
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

#### Reference

WindowsScriptEngine Class
Microsoft.ClearScript.Windows.Core Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft