type property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the MIME type of the object.

HTML 4.01 Specification, Section 12.2


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

Property values

Type: BSTR

the MIME type of the object.

Standards information


MIME is an abbreviation for Multipurpose Internet Mail Extension, and is a set of enhancements used with Simple Mail Transfer Protocol (SMTP). Used together, MIME and SMTP allow Internet messages to include a mixture of audio, images, video, and text components, and accommodate a variety of international character sets.

When no IHTMLObjectElement::classid attribute is specified for an object, the IHTMLObjectElement::type property is used to retrieve the class identifier for the object.

In Microsoft Internet Explorer 6, This property now applies to the a, link, and script objects.

This property applies to the a, link, and script objects.

See also




Build date: 6/12/2012

Community Additions