IHTMLBodyElement::vLink Property

Sets or gets the color of links in the object that have already been visited.

Syntax

HRESULT IHTMLBodyElement::get_vLink(VARIANT *p);
HRESULT IHTMLBodyElement::put_vLink(VARIANT v);

Parameters

  • p
    Pointer to a variable of type VARIANT of type VT_BSTR or VT_I4 that receives one of the color names or values in the Color Table.
  • v
    VARIANT of type VT_BSTR or VT_I4 that specifies one of the color names or values in the Color Table.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Some browsers do not recognize color names, but all browsers should recognize the #RRGGBB format of RGB color values and display them correctly.

See Also

IHTMLBodyElement::aLink, IHTMLBodyElement::link