Click or drag to resize

INavigationGoTo Method

Navigates to a specific location at the given index in the back-forward list.

Namespace:  DotNetBrowser.Navigation
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.2
Syntax
C#
Task<NavigationResult> GoTo(
	int index
)

Parameters

index
Type: SystemInt32
The location of the item to load in the back-forward list. Cannot be negative or more than the number of items in the back-forward list.

Return Value

Type: TaskNavigationResult
A task that represents the asynchronous navigation operation. The NavigationResult indicates if the navigation operation has been completed, stopped or failed. The task can throw if the navigation operation hasn't been completed within a default timeout (100 seconds).
Exceptions
ExceptionCondition
ArgumentOutOfRangeException The index is less than 0 or more than the number of items in the back-forward list.
ObjectDisposedExceptionThe INavigation has already been disposed.
See Also