HtmlDocument::OpenNew Method (Boolean)
.NET Framework (current version)
Gets a new HtmlDocument to use with the Write method.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- replaceInHistory
-
Type:
System::Boolean
Whether the new window's navigation should replace the previous element in the navigation history of the DOM.
OpenNew will clear the previous loaded document, including any associated state, such as variables. It will not cause navigation events in WebBrowser to be raised.
OpenNew always creates a new document in the current window. To open a document in a new window, use the Open method on the HtmlWindow class.
.NET Framework
Available since 2.0
Available since 2.0
Show: