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 用作基准。

注解

使用 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。

注解

使用 Go 等效于使用 Url 控件的属性或 Navigate 方法 WebBrowser

另请参阅

适用于