ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptEngine Class
ScriptEngine Constructor
ScriptEngine(String) Constructor
ScriptEngine(String, String) Constructor

# ScriptEngine(String, String) Constructor

Initializes a new script engine instance with the specified list of supported file name extensions.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    protected ScriptEngine(
    	string name,
    	string fileNameExtensions
    )

    Protected Sub New (
    	name As String,
    	fileNameExtensions As String
    )

    protected:
    ScriptEngine(
    	String^ name,
    	String^ fileNameExtensions
    )

    new :
            name : string *
            fileNameExtensions : string -> ScriptEngine

#### Parameters

name String
  A name to associate with the instance. Currently, this name is used only as a label in presentation contexts such as debugger user interfaces.
fileNameExtensions String
  A semicolon-delimited list of supported file name extensions.

See Also

#### Reference

ScriptEngine Class
ScriptEngine Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft