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