SearchManager.OnCancel(IDialogInterface) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
deprecated
此方法已被取代。
[Android.Runtime.Register("onCancel", "(Landroid/content/DialogInterface;)V", "GetOnCancel_Landroid_content_DialogInterface_Handler")]
[System.Obsolete("deprecated")]
public virtual void OnCancel(Android.Content.IDialogInterface? dialog);
[<Android.Runtime.Register("onCancel", "(Landroid/content/DialogInterface;)V", "GetOnCancel_Landroid_content_DialogInterface_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member OnCancel : Android.Content.IDialogInterface -> unit
override this.OnCancel : Android.Content.IDialogInterface -> unit
參數
- dialog
- IDialogInterface
DialogInterface:被取消的對話會被傳遞到
實作
- 屬性
備註
此方法已被取代。 此方法已是過時的內部實作細節。 請勿使用。
取消對話框時,將會叫用這個方法。
Android 參考資料。android.app.SearchManager.onCancel
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。