Share via


WebView2.GoForward Method

Definition

Navigates the WebView to the next page in the navigation history. Equivalent to calling GoForward(). If CoreWebView2 hasn't been initialized yet then does nothing.

public void GoForward ();
member this.GoForward : unit -> unit
abstract member GoForward : unit -> unit
override this.GoForward : unit -> unit
Public Sub GoForward ()

Implements

Exceptions

Thrown if the calling thread isn't the thread which created this object (usually the UI thread). See VerifyAccess() for more info. May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future.

Thrown if Dispose(Boolean) has already been called on the control.

Applies to

See also