Click or drag to resize

WindowsScriptEngine Constructor

Initializes a new Windows Script engine instance with the specified list of supported file name extensions.

Namespace:  Microsoft.ClearScript.Windows
Assembly:  ClearScript.Windows (in ClearScript.Windows.dll) Version: 7.3.1
Syntax
protected WindowsScriptEngine(
	string progID,
	string name,
	string fileNameExtensions,
	WindowsScriptEngineFlags flags
)

Parameters

progID
Type: SystemString
The programmatic identifier (ProgID) of the Windows Script engine class.
name
Type: SystemString
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
Type: SystemString
A semicolon-delimited list of supported file name extensions.
flags
Type: Microsoft.ClearScript.WindowsWindowsScriptEngineFlags
A value that selects options for the operation.
Remarks
The progID argument can be a class identifier (CLSID) in standard GUID format with braces (e.g., "{F414C260-6AC0-11CF-B6D1-00AA00BBBB58}").
See Also