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