Contents Index Topic Contents | ||
Previous Topic: IHTMLLocation::put_href Next Topic: IHTMLLocation::put_protocol |
IHTMLLocation::get_href
HRESULT get_href( BSTR *p );Retrieves the URL of the current browser location.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the URL.
See also put_href
IHTMLLocation::put_href
HRESULT put_href( BSTR v );Sets the entire URL for the browser. Setting this property causes the browser to navigate to the location specified by the URL.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the URL.
See also get_href
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.