HtmlWindow.Navigate Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Displays or downloads the new content located at the specified URL.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void Navigate(
	string urlString
)

Parameters

urlString
Type: System.String

The resource to display, described by a Uniform Resource Locator.

If the url parameter points to an HTML page, the page currently displayed in the window will be destroyed and replaced with the new page; any references your application holds to managed DOM objects in the old page will not be valid. If url points to a resource that cannot be displayed by Internet Explorer, the user will be presented with a dialog box asking whether to open the resource outside of the application, save it to disk, or cancel the download operation.

.NET Framework
Available since 2.0
Return to top
Show: