Contents Index Topic Contents | ||
Previous Topic: IHTMLDocument2::put_URL Next Topic: IHTMLDocument2::put_domain |
IHTMLDocument2::get_URL
HRESULT get_URL( BSTR *p );Retrieves the URL for the current document.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a string variable that receives the URL.
This function performs the same action as the IHTMLLocation::get_href function.
See also put_URL
IHTMLDocument2::put_URL
HRESULT put_URL( BSTR v );Sets the URL for the current document. This function causes the browser to browse to the location specified by the URL.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the URL.
This function performs the same action as the IHTMLLocation::put_href function.
See also get_URL
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.