IHTMLDocument2::get_URLIHTMLDocument2::get_URL*
*



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.

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

Up Top of Page


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.

v
String specifying the URL.

This function performs the same action as the IHTMLLocation::put_href function.

See also get_URL


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