IHTMLImgElement3::longDesc Property

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

Syntax

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

Parameters

  • 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.

Remarks

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

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