IHTMLLinkElement::type Property

Gets or sets the MIME type of the object.

Syntax

HRESULT IHTMLLinkElement::get_type(BSTR *p);
HRESULT IHTMLLinkElement::put_type(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives the MIME type of the object.
  • v
    BSTR that specifies the MIME type of the object.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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.

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

See Also

IHTMLObjectElement::data