type property

Sets or retrieves the MIME type for the associated scripting engine.

Syntax

HRESULT value = object.put_type( v);HRESULT value = object.get_type(* p);

Property values

Type: BSTR

text/ecmascript

ECMAScript.

text/Jscript

JScript.

text/javascript

Default. JScript.

text/vbs

VBScript.

text/vbscript

VBScript (same as text/vbs).

text/xml

XML.

Remarks

Compare this property with the IHTMLElement::language property. To avoid conflict, match the IHTMLScriptElement::type with the language type specified in the IHTMLElement::language property.