Partager via


WebBrowserExtended.Navigate Method

Definition

Overloads

Navigate(String)

Loads the document at the specified Uniform Resource Locator (URL) into the WebBrowser control, replacing the previous document. This overload starts the browser when necessary.

Navigate(String, String, Byte[], String)

Loads the document at the specified Uniform Resource Locator (URL) into the WebBrowser control, requesting it using the specified HTTP data and replacing the contents of the Web page frame with the specified name. This overload starts the browser when necessary. When browser has not been started, that is when WebBrowserExtendedState != BrowserAcquired, all parameters except urlString are disregarded.

Navigate(String)

Loads the document at the specified Uniform Resource Locator (URL) into the WebBrowser control, replacing the previous document. This overload starts the browser when necessary.

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 URL of the document to load.

Exceptions

This control is no longer valid.

Applies to

Navigate(String, String, Byte[], String)

Loads the document at the specified Uniform Resource Locator (URL) into the WebBrowser control, requesting it using the specified HTTP data and replacing the contents of the Web page frame with the specified name. This overload starts the browser when necessary. When browser has not been started, that is when WebBrowserExtendedState != BrowserAcquired, all parameters except urlString are disregarded.

public:
 virtual void Navigate(System::String ^ urlString, System::String ^ targetFrameName, cli::array <System::Byte> ^ postData, System::String ^ additionalHeaders);
public void Navigate (string urlString, string targetFrameName, byte[] postData, string additionalHeaders);
abstract member Navigate : string * string * byte[] * string -> unit
override this.Navigate : string * string * byte[] * string -> unit
Public Sub Navigate (urlString As String, targetFrameName As String, postData As Byte(), additionalHeaders As String)

Parameters

urlString
String

The URL of the document to load.

targetFrameName
String

The name of the frame in which to load the document.

postData
Byte[]

HTTP POST data such as form data.

additionalHeaders
String

HTTP headers to add to the default headers.

Implements

Exceptions

This control is no longer valid.

Applies to