MSDN Library

IHTMLImgElement2::longDesc Property

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

Syntax


HRESULT IHTMLImgElement2::get_longDesc(BSTR *p);HRESULT IHTMLImgElement2::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.

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

Community Additions

Show:
© 2016 Microsoft