Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
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 specifying the URL to insert into the session history.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Replacing a document causes it to no longer be accessible through the history object.
See Also
IOmHistory, IHTMLLocation
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.