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.
- Returns S_OK if successful, or an error value otherwise.
- 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
IHTMLLinkElement::put_href
HRESULT put_href( BSTR v );Sets the destination URL or anchor point.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.