IWebBrowser2::get_LocationURLIWebBrowser2::get_LocationURL*
*Contents  *Index  *Topic Contents
*Previous Topic: IWebBrowser2::get_LocationName
*Next Topic: IWebBrowser2::get_MenuBar

IWebBrowser2::get_LocationURL

HRESULT get_LocationURL(
    BSTR FAR* pbstrLocationURL
);

Retrieves the URL of the resource that Internet Explorer is currently displaying.

pbstrLocationURL
Address of a callee-allocated buffer that receives the URL. The caller frees this buffer with the SysFreeString API.

If the resource is a folder or file on the network or local computer, the name is the UNC or full path of the folder or file.

Applies To

Internet Explorer, WebBrowser

See also IWebBrowser2::get_LocationName


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