Click to return to the Reusing Browser Technology home page    
IHTMLLocation::reload Met...     IHTMLLocation::toString M...     IHTMLLocation Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLLocation::replace Method


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.

Syntax

HRESULT replace(
    BSTR bstr 
);

Parameters

bstr
String that specifies the URL to insert into the session history.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

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

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

IOmHistory


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.