HtmlHistory.Go 方法

定義

巡覽至指定為統一資源定位器 (URL) 或巡覽堆疊中某個位置的網頁。

多載

Go(Int32)

巡覽至瀏覽器記錄中的指定相對位置。

Go(String)

巡覽至指定的統一資源定位器 (URL)。

Go(Uri)

巡覽至指定的統一資源定位器 (URL)。

Go(Int32)

巡覽至瀏覽器記錄中的指定相對位置。

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

參數

relativePosition
Int32

您想要在巡覽堆疊中顯示的項目。

備註

Go搭配負數引數使用 相當於使用 Back 方法;相反地, Go 搭配正引數使用 相當於使用 Forward 方法。

另請參閱

適用於

Go(String)

巡覽至指定的統一資源定位器 (URL)。

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

參數

urlString
String

您想要顯示的 URL。 這個 URL 可以是相對或虛擬 URL (例如 page.html、path/page.html 或 /path/to/page.html),不論是哪一種情況,目前網頁的 URL 都會當做基底使用。

備註

Using Go 相當於使用 Url 屬性或 Navigate 控制項的 WebBrowser 方法。

另請參閱

適用於

Go(Uri)

巡覽至指定的統一資源定位器 (URL)。

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

參數

url
Uri

做為 Uri 物件的 URL。

備註

Using Go 相當於使用 Url 屬性或 Navigate 控制項的 WebBrowser 方法。

另請參閱

適用於