IHTMLLocation::get_hrefIHTMLLocation::get_href*
*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.

p
Address of a variable that receives the URL.

See also put_href

Up Top of Page


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.

v
String specifying the URL.

See also get_href


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