Click to return to the Reusing Browser Technology home page    
IHTMLObjectElement::get_a...     IHTMLObjectElement::get_B...     IHTMLObjectElement Interf...    
Web Workshop  |  Reusing Browser Technology

IHTMLObjectElement::get_altHtml Method


Retrieves the string of alternative text that would be displayed for the object if the object is unable to be instantiated, or if the browser does not support objects.

Syntax

HRESULT get_altHtml(
    BSTR *p 
);

Parameters

p
Address of a string (BSTR) variable that receives the alternative text. For details, see the altHTML property.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLObjectElement::put_altHtml Method


Sets the string of alternative text that could be displayed instead of the object.

Syntax

HRESULT put_altHtml(
    BSTR v 
);

Parameters

v
String (BSTR) that specifies the alternate text to set. For details, see the altHTML property.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.