ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8ScriptEngine Class
V8ScriptEngine Properties
CpuProfileSampleInterval Property
EnableRuntimeInterruptPropagation Property
FileNameExtension Property
Global Property
MaxRuntimeHeapSize Property
MaxRuntimeStackUsage Property
RuntimeHeapSizeSampleInterval Property
RuntimeHeapSizeViolationPolicy Property
Script Property
SuppressExtensionMethodEnumeration Property
SuppressInstanceMethodEnumeration Property

# V8ScriptEngineGlobal Property

Allows the host to access script resources.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.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
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

V8ScriptEngine Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft