GoForward Method  
 

Navigates to the next page in the session history if one is available.

Syntax

object.GoForward

Parameters

None.

Return Value

Returns True if the method succeeds or False if the method fails.

Remarks

The GoForward method navigates the browser to the next page in its session history, if one is available. This is equivalent to selecting the Forward button in a standard web browser.

If there is no forward entry in the history list, the method will succeed but no navigation will occur. The availability of forward navigation can be determined by handling the HistoryChanged event and checking the CanGoForward property.

Calling ClearHistory will remove the session history for the browser instance. After the history has been cleared, calling GoForward will have no effect until new pages have been visited.

See Also

CanGoBack Property, CanGoForward Property, GoBack Method, Navigate Method, HistoryChanged Event