Contents Index Topic Contents | ||
Previous Topic: IHTMLAreaElement::get_hostname Next Topic: IHTMLAreaElement::get_noHref |
IHTMLAreaElement::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 string variable that receives the URL.
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
IHTMLAreaElement::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 value specifying the URL.
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.