type property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the MIME type for the associated scripting engine.
Syntax
HRESULT value = object.put_type(BSTR v);HRESULT value = object.get_type(BSTR* 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.
Build date: 6/12/2012
Community Additions
Show: