Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.