IHTMLLinkElement::get_hrefIHTMLLinkElement::get_href*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLLinkElement::put_href
*Next Topic: IHTMLLinkElement::put_rel

IHTMLLinkElement::get_href


HRESULT get_href(
    BSTR *p 
);

Retrieves the destination URL or anchor point.

p
Address of a variable that receives the destination URL or anchor point.

The HREF attribute on the anchor is a scriptable attribute. HREFs on anchors can jump to bookmarks or any element's ID attribute.

See also put_href

Up Top of Page


IHTMLLinkElement::put_href


HRESULT put_href(
    BSTR v 
);

Sets the destination URL or anchor point.

v
String specifying the URL or anchor point.

The HREF attribute on the anchor is a scriptable attribute. HREFs on anchors can jump to bookmarks or any element's ID attribute.

See also get_href


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.