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

# V8ScriptEngineFileNameExtension Property

Gets the script engine's recommended file name extension for script files.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public override string FileNameExtension { get; }

    Public Overrides ReadOnly Property FileNameExtension As String
    	Get

    public:
    virtual property String^ FileNameExtension {
    	String^ get () override;
    }

    abstract FileNameExtension : string with get
    override FileNameExtension : string with get

#### Property Value

String

#### Implements

IScriptEngineFileNameExtension
IScriptEngineFileNameExtension
Remarks
V8ScriptEngine instances return "js" for this property.
See Also

#### Reference

V8ScriptEngine Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft