共用方式為


WebView.GoBackOrForward(Int32) Method

Definition

Goes to the history item that is the number of steps away from the current item.

[Android.Runtime.Register("goBackOrForward", "(I)V", "GetGoBackOrForward_IHandler")]
public virtual void GoBackOrForward (int steps);
[<Android.Runtime.Register("goBackOrForward", "(I)V", "GetGoBackOrForward_IHandler")>]
abstract member GoBackOrForward : int -> unit
override this.GoBackOrForward : int -> unit

Parameters

steps
Int32

the number of steps to take back or forward in the back forward list

Attributes

Remarks

Goes to the history item that is the number of steps away from the current item. Steps is negative if backward and positive if forward.

Java documentation for android.webkit.WebView.goBackOrForward(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to