Click to return to the Reusing Browser Technology home page    
IHTMLBodyElement::get_lef...     IHTMLBodyElement::get_now...     IHTMLBodyElement Interfac...    
Web Workshop  |  Reusing Browser Technology

IHTMLBodyElement::get_link Method


Retrieves the color used for links that have not yet been visited.

Syntax

HRESULT get_link(
    VARIANT *p
);

Parameters

p
Address of a VARIANT structure that receives the color. The color can be one of the names or values in the Color Table. For details, see the link 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

See Also

get_aLink, get_vLink

IHTMLBodyElement::put_link Method


Sets the color of links that have not yet been visited.

Syntax

HRESULT put_link(
    VARIANT v
);

Parameters

v
VARIANT structure that contains either a string or value that specifies the color to set. The color can be one of the names or values in the Color Table. For details, see the link 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

See Also

put_aLink, put_vLink


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.