type property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the content type of the resource designated by the IHTMLParamElement2::value attribute.
Syntax
HRESULT value = object.put_type(BSTR v);HRESULT value = object.get_type(BSTR* p);
Property values
Type: BSTR
the content type of the resource designated by the IHTMLParamElement2::value attribute, only in the case where IHTMLParamElement2::valueType is set to ref. This attribute thus specifies for the user agent the type of values that will be found at the URI designated by value.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Remarks
The content type specifies the nature of a linked resource. Examples of content types include "text/html", "image/png", "image/gif", "video/mpeg", "audio/basic", "text/tcl", "text/javascript", and "text/vbscript". For the current list of registered content types, see MIME Media Types.
IHTMLParamElement2::type was introduced in Microsoft Internet Explorer 6
See also
Conceptual
Build date: 6/12/2012