Bewerken

Share via


HtmlHistory.Go Method

Definition

Navigates to a Web page specified as either a Uniform Resource Locator (URL) or a position in the navigation stack.

Overloads

Go(Int32)

Navigates to the specified relative position in the browser's history.

Go(String)

Navigates to the specified Uniform Resource Locator (URL).

Go(Uri)

Navigates to the specified Uniform Resource Locator (URL).

Go(Int32)

Navigates to the specified relative position in the browser's history.

public:
 void Go(int relativePosition);
public void Go (int relativePosition);
member this.Go : int -> unit
Public Sub Go (relativePosition As Integer)

Parameters

relativePosition
Int32

The entry in the navigation stack you want to display.

Remarks

Using Go with a negative argument is equivalent to using the Back method; conversely, using Go with a positive argument is equivalent to using the Forward method.

See also

Applies to

Go(String)

Navigates to the specified Uniform Resource Locator (URL).

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

Parameters

urlString
String

The URL you want to display. This may be a relative or virtual URL (for example, page.html, path/page.html, or /path/to/page.html), in which case the current Web page's URL is used as a base.

Remarks

Using Go is equivalent to using either the Url property or the Navigate method of the WebBrowser control.

See also

Applies to

Go(Uri)

Navigates to the specified Uniform Resource Locator (URL).

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

Parameters

url
Uri

The URL as a Uri object.

Remarks

Using Go is equivalent to using either the Url property or the Navigate method of the WebBrowser control.

See also

Applies to