通过


HtmlHistory.Go 方法

定义

导航到指定为统一资源定位符(URL)或导航堆栈中位置的网页。

重载

名称 说明
Go(Int32)

导航到浏览器历史记录中的指定相对位置。

Go(String)

导航到指定的统一资源定位符(URL)。

Go(Uri)

导航到指定的统一资源定位符(URL)。

Go(Int32)

Source:
HtmlHistory.cs
Source:
HtmlHistory.cs
Source:
HtmlHistory.cs
Source:
HtmlHistory.cs
Source:
HtmlHistory.cs

导航到浏览器历史记录中的指定相对位置。

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)

Source:
HtmlHistory.cs
Source:
HtmlHistory.cs
Source:
HtmlHistory.cs
Source:
HtmlHistory.cs
Source:
HtmlHistory.cs

导航到指定的统一资源定位符(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(例如,page.html、path/page.html或 /path/to/page.html),在这种情况下,当前网页的 URL 用作基 URL。

注解

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

另请参阅

适用于

Go(Uri)

Source:
HtmlHistory.cs
Source:
HtmlHistory.cs
Source:
HtmlHistory.cs
Source:
HtmlHistory.cs
Source:
HtmlHistory.cs

导航到指定的统一资源定位符(URL)。

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

参数

url
Uri

作为对象的 URL Uri

注解

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

另请参阅

适用于