HtmlHistory.Go Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Remarks
Using Go is equivalent to using either the Url property or the Navigate method of the WebBrowser control.
See also
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈