Επεξεργασία

Κοινή χρήση μέσω


HtmlWindow.Navigate Method

Definition

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

Overloads

Navigate(Uri)

Displays a new document in the current window.

Navigate(String)

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

Navigate(Uri)

Source:
HtmlWindow.cs
Source:
HtmlWindow.cs
Source:
HtmlWindow.cs

Displays a new document in the current window.

public:
 void Navigate(Uri ^ url);
public void Navigate (Uri url);
member this.Navigate : Uri -> unit
Public Sub Navigate (url As Uri)

Parameters

url
Uri

The location, specified as a Uri, of the document or object to display in the current window.

Applies to

Navigate(String)

Source:
HtmlWindow.cs
Source:
HtmlWindow.cs
Source:
HtmlWindow.cs

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

public:
 void Navigate(System::String ^ urlString);
public void Navigate (string urlString);
member this.Navigate : string -> unit
Public Sub Navigate (urlString As String)

Parameters

urlString
String

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

Remarks

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 is presented with a dialog box asking whether to open the resource outside of the application, save it to disk, or cancel the download operation.

See also

Applies to