IHTMLImgElement3::longDesc Property

Gets or sets a Uniform Resource Identifier (URI) to a long description of the object.


HRESULT IHTMLImgElement3::get_longDesc(BSTR *p);
HRESULT IHTMLImgElement3::put_longDesc(BSTR v);


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

Return Value

Returns S_OK if successful, or an error value otherwise.


The long description supplements the shorter description specified by the IHTMLImgElement::alt attribute.

IHTMLImgElement3::longDesc was introduced in Microsoft Internet Explorer 6.