ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8Settings Class
V8Settings Properties
EnableTopLevelAwait Property
GlobalFlags Property

# V8SettingsGlobalFlags Property

Gets or sets global V8 options.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public static V8GlobalFlags GlobalFlags { get; set; }

    Public Shared Property GlobalFlags As V8GlobalFlags
    	Get
    	Set

    public:
    static property V8GlobalFlags GlobalFlags {
    	V8GlobalFlags get ();
    	void set (V8GlobalFlags value);
    }

    static member GlobalFlags : V8GlobalFlags with get, set

#### Property Value

V8GlobalFlags
Remarks
To override the default global options, set this property before instantiating V8ScriptEngine or V8Runtime for the first time. Subsequent reassignment will have no effect.
See Also

#### Reference

V8Settings Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft