Shell.OnBackButtonPressed 方法

定義

如果 CurrentItem 在回應按下 [返回] 按鈕時快顯,會傳回 true

protected override bool OnBackButtonPressed ();
override this.OnBackButtonPressed : unit -> bool

傳回

System.Boolean

如果 CurrentItem 不是 null 且不是瀏覽堆疊中的唯一項目,會傳回 true

備註

這個方法可能會在流覽完成之前傳回。 (請參閱PopAsync().)

適用於