type property
Gets the scripting language for the given script element.
![]() ![]() |
Syntax
HRESULT value = object.get_type(short* p);
Property values
Type: short
A MIME media type.
Standards information
- Scalable Vector Graphics: Scripting, Section 18.5.1
Remarks
If you do not provide a ISVGScriptElement::type property, the value of contentScriptType on the svg element is used, which defaults to application/ecmascript. If a script element falls outside of the outermost svg element and you do not provide the ISVGScriptElement::type attribute, the value of contentScriptType on the script element defaults to application/ecmascript.
Show:

