IHTMLLocation::replaceIHTMLLocation::replace*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLLocation::reload
*Next Topic: IHTMLLocation::assign

IHTMLLocation::replace


HRESULT replace(
    BSTR bstr 
);

Replaces the current document by loading the document at the given URL. This method also removes the current document from the browser's session history.

bstr
String specifying the URL to insert into the session history.

Replacing a document causes it to no longer be accessible through the history object.

See also IOmHistory


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